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


IAGSServerConnection.ServerObjectNames Property (ArcObjects .NET 10.8 SDK)
ArcObjects Help for .NET developers > ArcObjects Help for .NET developers > ArcObjects namespaces > GISClient > ESRI.ArcGIS.GISClient > Interfaces > IA > IAGSServerConnection Interface > IAGSServerConnection.ServerObjectNames Property
ArcGIS Developer Help

IAGSServerConnection.ServerObjectNames Property

The ServerObjectNames in the GIS server.

[Visual Basic .NET]
Public ReadOnly Property ServerObjectNames As IAGSEnumServerObjectName
[C#]
public IAGSEnumServerObjectName ServerObjectNames {get;}
[C++]
HRESULT get_ServerObjectNames(
  IAGSEnumServerObjectName** ppSONames
);
[C++]
Parameters
ppSONames [out, retval]

ppSONames is a parameter of type IAGSEnumServerObjectName**

Product Availability

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

Remarks

Returns an enumeration of the AGSServerObjectName objects in the GIS server or web service catalog. Note, if the application that uses this interface is running as a user in the GIS server's users group (agsusers), and connects directly to a GIS server over a LAN, this method will return only the server objects which are started. If the application that uses this interface is running as a user in the GIS server's administrators group (agsadmin), this method will return all server objects.

See Also

IAGSServerConnection Interface