ESRI.ArcGIS.ADF.Connection.Local
GetServerObjectNames(String) Method
See Also  Send Feedback
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

Requirements

Target Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family, Windows Vista, Windows Server 2008 family

See Also

© 2011 All Rights Reserved.