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.