Repository Open Method

Meta Data Services Programming

Meta Data Services Programming

Repository Open Method

Use this method to open (connect to) a repository. The root repository object is passed back to the caller.

Syntax

Set variable  =  object.Open(connect, user, password, flags)

The Open method syntax has the following parts.

Part Description
variable A variable declared as a RepositoryObject. It receives the root repository object (ReposRoot) for the repository.
object The instance of the Repository class that you are using to connect to the repository.
connect The ODBC connection string to be used for accessing the database server that hosts your repository.
user The user name to use for identification to the database server.
password The password that matches the user input parameter.
flags Flags that determine database access and caching behavior for the open repository. For more information, see ConnectionFlags Enumeration.

See Also

Connecting to and Configuring a Repository

Repository Object