ALM Site Administratation Client Type Library
CreateProject3 Method
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)

vExtensionNames

A safe array containing the names of the extensions to enable or a BSTR containing a name of a single extension.

If this Variant is empy, the method behaves like CreateProject2.

Description

Creates a new project of the specified type and enables extensions by the given extension names.

Syntax

Visual Basic
Public Function CreateProject3( _
   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, _
   ByVal vExtensionNames As Variant _
) As String

Parameters

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)

vExtensionNames

A safe array containing the names of the extensions to enable or a BSTR containing a name of a single extension.

If this Variant is empy, the method behaves like CreateProject2.

Return Type

On success, returns an XML string containing the project properties.

See Also

Send documentation feedback to HP.