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


IDatabaseConnectionInfo2.ConnectionDBMS Property (ArcObjects .NET 10.5 SDK)
ArcObjects Library Reference (GeoDatabase)  

IDatabaseConnectionInfo2.ConnectionDBMS Property

The type of DBMS this workspace is connected to.

[Visual Basic .NET]
Public ReadOnly Property ConnectionDBMS As esriConnectionDBMS
[C#]
public esriConnectionDBMS ConnectionDBMS {get;}
[C++]
HRESULT get_ConnectionDBMS(
  esriConnectionDBMS* dbms
);
[C++]

Parameters dbms [out, retval]
dbms is a parameter of type esriConnectionDBMS

Product Availability

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

Remarks

Returns an enumeration value corresponding to the connected DBMS. This might be particularly useful when implementing code that must access a number of different remote database types and depending on the underlying DBMS, change the code accordingly.

See Also

IDatabaseConnectionInfo2 Interface

.NET Related Topics

Querying workspace properties