Use this method to open (connect to) a Repository. The root Repository object is passed back to the caller.
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 the ConnectionFlags Enumeration. |