This method is used to retrieve various transaction options.
variable = object.GetOption(whichOption)
The GetOption property syntax has the following parts.
| Part | Description |
|---|---|
| object | An object expression that evaluates to a RepositoryTransaction object for the currently open Repository instance. |
| whichOption | A parameter that specifies which option to retrieve. For more information about flag values and descriptions, see TransactionFlags Enumeration. |
| variable | A variable declared as a Variant. It receives the value of the specified option. |
You can only get an option that is already set. You can set an option using the SetOption method.