Visual Basic |
---|
Public Function CreateProjectCopy( _ ByVal DomainName As String, _ ByVal NewProjectName As String, _ ByVal NewDbType As Integer, _ ByVal SourceDomainName As String, _ ByVal SourceProjectName As String, _ 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 CopyOptions As Long, _ ByVal CreationOptions As Long _ ) As String |
- DomainName
- The domain of the new project.
- NewProjectName
- The new project name.
- NewDbType
The type of database. Use the following constants or their values:
- SA_MSSQL_DB_TYPE (value: 2)
- SA_ORACLE_DB_TYPE (value: 3).
- SourceDomainName
- The domain of the existing project.
- SourceProjectName
- The name of the existing project.
- 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).
- CopyOptions
Specifies flags that control project creation. Flags can be ORed together to specify multiply options.
Use the values from the SA_COPY_PROJECT_OPTIONS Enumeration.
- CreationOptions
Specifies flags that control project creation. Flags can be ORed together to specify multiply options. Use the values from the SA_PROJECT_CREATION_OPTIONS Enumeration.
On success, returns an XML string containing the project properties.