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


IDatabaseConnectionInfo3.ConnectedDatabaseEx Property (ArcObjects .NET 10.8 SDK)
ArcObjects Help for .NET developers > ArcObjects Help for .NET developers > ArcObjects namespaces > Geodatabase > ESRI.ArcGIS.GeoDatabase > Interfaces > ID > IDatabaseConnectionInfo3 Interface > IDatabaseConnectionInfo3.ConnectedDatabaseEx Property
ArcGIS Developer Help

IDatabaseConnectionInfo3.ConnectedDatabaseEx Property

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*

Product Availability

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

Description

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

See Also

IDatabaseConnectionInfo3 Interface