Repository Open Method

See Also

Use this method to open (connect to) a repository. The root Microsoft® 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; receives the root Repository object 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 details, see ConnectionFlags Enumeration.

(c) 1988-1998 Microsoft Corporation. All Rights Reserved.