ESRI.ArcGIS.ADF.Web.DataSources.ArcGISServer
FromResourceUrl Method
See Also 
ESRI.ArcGIS.ADF.Web.DataSources.ArcGISServer Namespace > GISDataSourceInternet Class : FromResourceUrl Method




resourceUrl
Full URL to the GIS resource, e.g., http://myserver/arcgis/services/MyGISService/MapServer.
server
Output parameter: server name or IP address. Includes service folder, if present.
service
Output parameter: service name.
soType
Service type, e.g., MapServer or GeocodeServer.
Parses the server, service name and service type from the GIS resource URL.

Syntax

Visual Basic (Declaration) 
Public Shared Sub FromResourceUrl( _
   ByVal resourceUrl As String, _
   ByRef server As String, _
   ByRef service As String, _
   ByRef soType As String _
) 
Visual Basic (Usage)Copy Code
Dim resourceUrl As String
Dim server As String
Dim service As String
Dim soType As String
 
GISDataSourceInternet.FromResourceUrl(resourceUrl, server, service, soType)
C# 
public static void FromResourceUrl( 
   string resourceUrl,
   out string server,
   out string service,
   out string soType
)

Parameters

resourceUrl
Full URL to the GIS resource, e.g., http://myserver/arcgis/services/MyGISService/MapServer.
server
Output parameter: server name or IP address. Includes service folder, if present.
service
Output parameter: service name.
soType
Service type, e.g., MapServer or GeocodeServer.

See Also

© 2010 All Rights Reserved.