ESRI.ArcGIS.ADF.Connection.Local
GetExtensionsForServerObject(String,String) Method
See Also  Send Feedback
ESRI.ArcGIS.ADF.Connection.AGS Namespace > AGSServerConnection Class > GetExtensionsForServerObject Method : GetExtensionsForServerObject(String,String) Method




serverObjectName
The name of the Server object (service).
serverObjectType
The type name of the Server Object.
Returns a collection of the names of the extensions associated with a service.

Syntax

Visual Basic (Declaration) 
Public Overloads Function GetExtensionsForServerObject( _
   ByVal serverObjectName As String, _
   ByVal serverObjectType As String _
) As StringCollection
Visual Basic (Usage)Copy Code
Dim instance As AGSServerConnection
Dim serverObjectName As String
Dim serverObjectType As String
Dim value As StringCollection
 
value = instance.GetExtensionsForServerObject(serverObjectName, serverObjectType)
C# 
public StringCollection GetExtensionsForServerObject( 
   string serverObjectName,
   string serverObjectType
)

Parameters

serverObjectName
The name of the Server object (service).
serverObjectType
The type name of the Server Object.

Return Value

StringCollection of extensions.

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

The extensions for a service may include:

  • KmlServer - KML service
  • MobileServer - Mobile data service
  • NAServer - Network Analyst service
  • WMSServer - OGC Web Mapping Service
  • WFSServer - OGC Web Feature Service

See Also

© 2010 All Rights Reserved.