Repository SetOption Method

Meta Data Services Programming

Meta Data Services Programming

Repository SetOption Method

This method sets an option that supports performance optimization at run time.

This property is not attached to the default interface for the repository Automation object; it is attached to the IReposOptions interface. For more information about accessing a member of an interface that is not the default interface, see Accessing Automation Object Members.

Syntax

Call object.SetOption(optionIdentifier, value)

The SetOption method syntax has the following parts.

Part Description
object An expression that evaluates to a Repository session object.
optionIdentifier An option expressed as a Variant. You can specify an option name or an option value.
value The value of the option. The value must be paired with the corresponding optionIdentifier. For more information about option names and values, see IReposOptions Options Table.

See Also

IReposOptions Interface

Optimizing Repository Performance

Repository GetOption Method

Repository Object

Repository ResetOption Method