Argument property

A variable stored for the Batch object during the current batch operation. Arguments can be used to pass parameters between procedures within the same batch operation.

Syntax

Argument(Name) As Variant

Following are the predefined, read-only Batch object arguments that you can use to obtain additional information that may be useful when working with particular events.

Batch object arguments
Argument Description
Batch.Argument("__$$RelatedProjectCopy")

A reference to the project copy document that is being released as a master document. Useful in the DocGenericEvent_BeforeNewDocument event to move the master document to the correct location if it is being created for the first time.

Batch.Argument("__$$RelatedVaultDocument")

A reference to a vault document that corresponds to briefcase file. The reference can be a ID string, Document object, or AMDocument object. Useful in the BrcEvent_BeforeImport event to relate a vault document to an incoming file.

Remarks

The value of Name is case-sensitive.

For more information about arguments, see Understanding object arguments.