MicroStrategy ONE
DBConnection
The DBConnection interface represents a single database connection object returned from Intelligence Server. A database connection is uniquely identified by its connection number.
In the current implementation, if either the browse or detail flag is set for database connections, all of the information on the interface is populated.
The following methods are exposed on the UserConnection interface:
Method Name | Return Type | Description |
---|---|---|
getDBConnectionNumber |
int |
Returns the unique identifier for the database connection |
getStatus |
int |
Returns the database connection status, from EnumDSSXMLDBConnectionStatus |
getInstanceName |
string |
Returns the database instance name |
getUserName |
string |
Returns the user name for the database connection |
getLoginName |
string |
Returns the database login name |
getServerName |
string |
Returns the name of the server machine |
getConnectionID |
string |
Returns the DSSID of the database connection |
getConnectionName |
string |
Returns the name of the database connection |