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


IAGSServerConnectionFactory3.GetInServerConnectionName Method (ArcObjects .NET 10.5 SDK)
ArcObjects Library Reference (GISClient)  

IAGSServerConnectionFactory3.GetInServerConnectionName Method

Returns a server connection name that can be used to connect to the server from within a server process. Fails if run outside a server process.

[Visual Basic .NET]
Public Function GetInServerConnectionName ( _
) As IAGSServerConnectionName
[C#]
public IAGSServerConnectionName GetInServerConnectionName (
);
[C++]
HRESULT GetInServerConnectionName(
  IAGSServerConnectionName** connName
);
[C++]

Parameters connName [out, retval]
connName is a parameter of type IAGSServerConnectionName

Product Availability

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

See Also

IAGSServerConnectionFactory3 Interface