Description

Destroys the specified Object.

Syntax

Sub DestroyObject(Vault As Vault, ObjID As ObjID

Parameters

Name

Data Type

Description

Vault

Vault

Used to determine the filename of the log file. To create a log file for the current activity pass in the provided ActivityID.

ObjVer

ObjVer

A String or Object to write to the log file. If an object is specified, it must be convertible to String.

Return

No return value.

Example

'create Pentagon DOCS Script Library object

Set scriptLib = GetExtensionObject("ExDOCS.Core.ScriptLibrary")


scriptLib.DestroyObject Vault, ObjVer.ObjID