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

Description

Gets 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

Send documentation feedback to HP.