ESRI.ArcGIS.ADF.Connection
GetServiceTypes Method
See Also  Send comments on this topic.
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".

See Also

© 2010 All Rights Reserved.