ConnectionFlags Enumeration

Meta Data Services Programming

Meta Data Services Programming

ConnectionFlags Enumeration

This enumeration defines the characteristics of a connection to a repository database. These flags are bit flags, and may be combined to set multiple options. The absence of a flag indicates that the option is not set.

enum {
REPOS_CONN_NEWCACHE = 2 
REPOS_CONN_UPGRADE = 4 
REPOS_CONN_RECOMPUTE = 8 
} ConnectionFlags;
Value Description
REPOS_CONN_NEWCACHE Creates a new cache when you open or create a repository instance. This consumes additional resources.
REPOS_CONN_UPGRADE Upgrades the repository database tables to the most recent version. Standard repository SQL tables are replaced. Custom repository tables that you create by way of schema extensions are unchanged.
REPOS_CONN_RECOMPUTE Recomputes all class definitions, and regenerates views and stored procedures.

See Also

IRepository::Create Method

IRepository::Open Method

Repository Create Method

Repository Open Method