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


IAGSServerConnection.ServerObjectNames Property (ArcObjects .NET 10.5 SDK)
ArcObjects Library Reference (GISClient)  

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

.NET Related Topics

GISClient | How to connect to an image service | How to initialize a GeoDataServer object