ALM Site Administratation Client Type Library
AddDBServerExt Method
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.

DbAdminUser

The database administrator.

DbAdminPassword

The database administrator password.

DbUserPassword

The ALM user password.

ConnectionStringFormat

The project's ADO connection string.

IsSQLWinAuth
Set to True to indicate that the SQL Server database manager uses the Window operating system authorization.
By default, the database manager requires a log-on specifically to the database application.

Description

Defines a new database server.

Syntax

Visual Basic
Public Function AddDBServerExt( _
   ByVal DbType As Integer, _
   ByVal DbServerName As String, _
   ByVal DbAdminUser As String, _
   ByVal DbAdminPassword As String, _
   ByVal DbUserPassword As String, _
   ByVal ConnectionStringFormat As String, _
   Optional ByVal IsSQLWinAuth As Boolean = False _
) As String

Parameters

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.

DbAdminUser

The database administrator.

DbAdminPassword

The database administrator password.

DbUserPassword

The ALM user password.

ConnectionStringFormat

The project's ADO connection string.

IsSQLWinAuth
Set to True to indicate that the SQL Server database manager uses the Window operating system authorization.
By default, the database manager requires a log-on specifically to the database application.

Return Type

On success, returns an XML string containing the database server properties.

See Also

Send documentation feedback to HP.