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


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

IDatabaseConnectionInfo2 Interface

Provides access to members that provide information about the Workspace's connected database.

Product Availability

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

When To Use

Use IDatabaseConnectionInfo2 when you want to know the type of DBMS the workspace is connected to. For example, when connected to a SQLServer database ConnectionDBMSwill return the enumeration value corresponding to a SQLServer database.

 

 

Members

Name Description
Read-only property ConnectedDatabase The name of the connected database. It may be different from the DATABASE property in the workspace's connection properties.
Read-only property ConnectedUser The name of the connected user. It may be different from the USER property in the workspace's connection properties.
Read-only property ConnectionCurrentDateTime The current DBMS date/time.
Read-only property ConnectionDBMS The type of DBMS this workspace is connected to.
Read-only property ConnectionServer The server this workspace is connected to.
Read-only property GeodatabaseServerClass The ArcSDE server class.

Inherited Interfaces

Interfaces Description
IDatabaseConnectionInfo Provides access to members that provide information about the Workspace's connected database.

Classes that implement IDatabaseConnectionInfo2

Classes Description
SqlWorkspace (esriDataSourcesGDB) Sql workspace