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


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

IDatabaseConnectionInfo2.ConnectionServer Property

The server this workspace is connected to.

[Visual Basic .NET]
Public ReadOnly Property ConnectionServer As String
[C#]
public string ConnectionServer {get;}
[C++]
HRESULT get_ConnectionServer(
  BSTR* server
);
[C++]

Parameters server [out, retval] server is a parameter of type BSTR

Product Availability

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

See Also

IDatabaseConnectionInfo2 Interface