This document is archived and information here might be outdated. Recommended version. |
The name of the connected database. It may be different from the DATABASE property in the workspace's connection properties. Works on Oracle.
[Visual Basic .NET] Public ReadOnly Property ConnectedDatabaseEx As String
[C#] public string ConnectedDatabaseEx {get;}
[C++]
HRESULT get_ConnectedDatabaseEx(
System.String* ConnectedDatabase
);
[C++]
Parameters ConnectedDatabase [out, retval]
ConnectedDatabase is a parameter of type BSTR*
Returns the name of the connected database for all supported databases. IDatabaseConnectionInfo3.ConnectedDatabaseEx should be used to determine the connected database name when performing administration tasks.
IDatabaseConnectionInfo2.ConnectedDatabase should be used if manually preparing table name qualifications. ConnectedDatabase will not return the database for Oracle databases; tables would not be found if the table name is prefixed with the database when using Oracle, see ISQLSyntax.QualifyTableName