RepositoryTransaction SetOption Method

Meta Data Services Programming

Meta Data Services Programming

RepositoryTransaction SetOption Method

This method is used to set various transaction options.

Syntax

Call object.SetOption(whichOption, optionValue)

The SetOption method syntax has the following parts.

Part Description
object An object expression that evaluates to a RepositoryTransaction object for the open Repository instance.
whichOption A parameter that specifies which option to set. For more information about flag values and descriptions, see TransactionFlags Enumeration.
optionValue The new value for the option.
Remarks

After you set an option, you can retrieve it using the GetOption method.

See Also

Repository Transaction Property

RepositoryTransaction Object

RepositoryTransaction GetOption Method