ESRI.ArcGIS.ADF.Connection.Local
GetServiceTypes Method
See Also  Send Feedback
ESRI.ArcGIS.ADF.Connection.AGS Namespace > AGSServerConnection Class : GetServiceTypes Method




service
Name of the service
Gets the service types for the specified service name.

Syntax

Visual Basic (Declaration) 
Public Function GetServiceTypes( _
   ByVal service As String _
) As List(Of String)
Visual Basic (Usage)Copy Code
Dim instance As AGSServerConnection
Dim service As String
Dim value As List(Of String)
 
value = instance.GetServiceTypes(service)
C# 
public List<string> GetServiceTypes( 
   string service
)

Parameters

service
Name of the service

Return Value

A List of the types of service supported, such as "MapServer", "GeocodeServer", or "GPServer".

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.