ALM Site Administration API Type Library 12.50 and later
GetDBServer Method
The database server name.

Returns the type of database. Use the following constants or their values:

Description
Returns properties of a database server.
Syntax
Visual Basic
Public Function GetDBServer( _
   ByVal DbServerName As String, _
   ByVal DbType As Integer _
) As String
Parameters
DbServerName
The database server name.
DbType

Returns the type of database. Use the following constants or their values:

  • SA_MSSQL_DB_TYPE (value: 2)
  • SA_ORACLE_DB_TYPE (value: 3)
Return Type

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

See Also

SAapi Object  | SAapi Members