ESRI.ArcGIS.ADF.Connection
GetServerObjectNames(String) Method
See Also  Send comments on this topic.
ESRI.ArcGIS.ADF.Connection.AGS Namespace > AGSServerConnection Class > GetServerObjectNames Method : GetServerObjectNames(String) Method




serverObjectType
Type of server object.
Get a list of services of the specified type available at an ArcGIS Server host.

Syntax

Visual Basic (Declaration) 
Public Overloads Function GetServerObjectNames( _
   ByVal serverObjectType As String _
) As ServerObjectName()
Visual Basic (Usage)Copy Code
Dim instance As AGSServerConnection
Dim serverObjectType As String
Dim value() As ServerObjectName
 
value = instance.GetServerObjectNames(serverObjectType)
C# 
public ServerObjectName[] GetServerObjectNames( 
   string serverObjectType
)

Parameters

serverObjectType
Type of server object.

Return Value

An ArrayList of ServerObjectName objects.

Remarks

The serverObjectType value should be a string value matching one of the constants in ESRI.ArcGIS.ADF.ArcGISServer.Constants:

  • MapServer
  • GeocodeServer
  • GeoDataServer
  • GPServer
  • NAServer

See Also

© 2010 All Rights Reserved.