ALM Site Administration API Type Library
AddDBServerExt Method
Description
Obsolete: 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