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


IAGSServerConnectionFactory3.GetHostedServers Method (ArcObjects .NET 10.4 SDK)
ArcObjects Library Reference (GISClient)  

IAGSServerConnectionFactory3.GetHostedServers Method

Returns server object names for the hosted servers accessible to the user.

[Visual Basic .NET]
Public Function GetHostedServers ( _
    ByVal hWnd As Integer _
) As IEnumAGSServerConnectionName
[C#]
public IEnumAGSServerConnectionName GetHostedServers (
    int hWnd
);
[C++]
HRESULT GetHostedServers(
  long hWnd,
  IEnumAGSServerConnectionName** connNames
);
[C++]

Parameters hWnd [in] hWnd is a parameter of type long connNames [out, retval]
connNames is a parameter of type IEnumAGSServerConnectionName

Product Availability

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

See Also

IAGSServerConnectionFactory3 Interface