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.
[Visual Basic .NET] Public ReadOnly Property ConnectedDatabase As String
[C#] public string ConnectedDatabase {get;}
[C++]
HRESULT get_ConnectedDatabase(
System.String* db
);
[C++]
Parameters db [out, retval]
db is a parameter of type BSTR*
If the underlying DBMS does not support multiple databases or is a Personal or File Geodatabase, the ConnectedDatabase property will return an empty string.