This document is archived and information here might be outdated. Recommended version. |
ArcObjects Help for .NET developers > ArcObjects namespaces > Geodatabase > ESRI.ArcGIS.GeoDatabase > Interfaces > ID > IDatabaseConnectionInfo Interface > IDatabaseConnectionInfo.ConnectedDatabase Property (ArcObjects .NET 10.5 SDK) |
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(
BSTR* 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.