Use this method to create a new Microsoft® Repository database. The fundamental repository tables are automatically created. The root Repository object of the new repository is passed back to the caller.
Set variable = object.Create(connect, user, password, flags)
The Create method syntax has the following parts.
| Part | Description |
| Variable | A variable declared as a RepositoryObject. Receives the root Repository object for the new repository. |
| Object | The instance of the Repository class that you are using to create the new Repository database. |
| Connect | The ODBC connection string to be used for accessing the database server that will host your new 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. |