RevokeBatch method
Revokes all documents that have been registered in the Publisher queue since the calling of the BeginBatch method.
Syntax
Function RevokeBatch (vaultId)
Name | Description |
---|---|
vaultId |
A string that uniquely identifies the vault in which the document resides. Specify Nothing or an empty string to work in the same vault where the VBScript runs. The vault identifier has the syntax \\server\vault, where server is the name of the server computer and vault is the internal name of the vault or datastore. The vault identifier may consist of only a vault name, in which case the vault’s default server, if set, will be assumed. |
Remarks
This method must be called in the _Terminate event procedure of a custom command, similar to the example shown in BeginBatch method. If this is not done, then the RegisterDocument method revokes documents in the queue individually.