Creates a new project and retrieves project properties.
Visual Basic |
---|
Public Function CreateProject( _ ByVal DomainName As String, _ ByVal ProjectName As String, _ ByVal DbType As Integer, _ ByVal DbServerName As String, _ ByVal AdminUser As String, _ ByVal AdminPassword As String, _ ByVal TableSpace As String, _ ByVal TempTableSpace As String, _ ByVal TableSpaceSize As Long, _ ByVal TempTableSpaceSize As Long, _ ByVal CreationOptions As Long _ ) As String |
- DomainName
- The domain of the new project.
- ProjectName
- The new project name.
- DbType
The type of database. Use the following constants or their values:
- SA_MSSQL_DB_TYPE (value: 2)
- SA_ORACLE_DB_TYPE (value: 3).
- DbServerName
- The database server name.
- AdminUser
- The database administrator user name.
- AdminPassword
- The database administrator password.
- TableSpace
- Storage on disk of Oracle database tables. If not Oracle, pass empty string ("").
- TempTableSpace
- Temporary storage location on disk for Oracle. If not Oracle, pass empty string ("").
- TableSpaceSize
- No longer in use. Pass zero (0).
- TempTableSpaceSize
- No longer in use. Pass zero (0).
- CreationOptions
One or more of the values:
- SA_PROJECT_CREATION_NONE
- SA_ACTIVATE_NEW_PROJECT
- SA_CREATE_VERSION_CONTROL_DB
of the SA_PROJECT_CREATION_OPTIONS Enumeration.
To specify both ACTIVATE and CREATE_VERSION_CONTROL, OR the options together:
(SA_ACTIVATE_NEW_PROJECT Or SA_CREATE_VERSION_CONTROL_DB)
On success, returns an XML string containing the project properties.