IReposOptions Options Table

Meta Data Services Programming

Meta Data Services Programming

IReposOptions Options Table

The following table shows the options that can be used as parameters for the SetOption and GetOption methods.

OptionName OptionValue
Default

Type

Description
OPT_RELEASENOREF
ROW_MODE
FALSE boolean When set to TRUE, this option causes cache rows to be immediately released when the reference count goes to zero. This is the same as setting the age-out time to zero, except that the value will not be used by the background thread.
OPT_AGEOUT 1000 ulong The number of milliseconds after a repository object pointer gets released until it is outdated. 0xFFFFFFFF (-1) indicates that the object never ages out.
OPT_TIM_AGEOUT 0xFFFFFFFF ulong The number of milliseconds after a pointer to a type information model object gets released until it is outdated. 0xFFFFFFFF (-1) indicates that the object never ages out.
OPT_PRELOAD_AGEOUT 60000 ulong The number of milliseconds after an object is prefetched until it is marked as outdated and ready to be cleaned up by the background thread. 0xFFFFFFFF (-1) indicates that the object never ages out.
OPT_ATOMICOP_MODE FALSE boolean Indicates whether atomic operations are enabled. A value of TRUE indicates that atomic operations are enabled, while the value of FALSE indicates that atomic operations are disabled.
OPT_PRELOAD_COL
_MODE
0 long The number indicates the maximum number of objects in a collection C such that when a destination object collection D is accessed, for any object in C, then the repository engine will preload D for all objects in C. Zero means this preloading is disabled.
OPT_EXPORT_MODE FALSE boolean Loads all origin collections on an object at object creation.
OPT_NOPROPERTYPRE
FETCH_MODE
FALSE boolean If this option is set to TRUE, it does not prefetch properties on objects in any of the collections.
OPT_LCID 1033
(US English)
ulong The engine allows its clients to change the locale at run-time. This is done by using the SetOption method and setting LCID (locale identifier) as value.

See Also

IReposOptions::ResetOptions