Visual Basic |
---|
Public Function CreateProject2( _ ByVal DomainName As String, _ ByVal ProjectName As String, _ ByVal IsTemplate As Boolean, _ ByVal ProjectType 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 CreationOptions As Long _ ) As String |
- DomainName
The domain of the new project.
- ProjectName
The new project name.
- IsTemplate
- If true, the project is a template.
- ProjectType
- The project type can be Standard, Template, or a project type created by an extension.
- 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 ("").
- 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.