ArcObjects Library Reference (GeoDatabase)  

IDatabaseConnectionInfo.ConnectedDatabase Property

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

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

Remarks

If the underlying DBMS does not support multiple databases or is a Personal or File Geodatabase, the ConnectedDatabase property will return an empty string.

See Also

IDatabaseConnectionInfo Interface