ESRI.ArcGIS.ADF.Connection | |
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.
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
System.Collections.Specialized.StringCollection of extensions.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
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
Reference
AGSServerConnection ClassAGSServerConnection Members
Overload List
System.Collections.Specialized.StringCollection
T:ESRI.ArcGIS.Server.IServerObject
System.Collections.Specialized.StringCollection
T:ESRI.ArcGIS.Server.IServerObject