This document is archived and information here might be outdated.  Recommended version.


IDatabaseConnectionInfo.ConnectedDatabase Property (ArcObjects .NET 10.6 SDK)
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(
  System.String* 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

.NET Related Topics

Querying workspace properties