Requests service information. The information is passed to the callback function. The result of this operation will be a JSON formatted response with details about the service.

Namespace:  ESRI.ArcGIS.VE
  (in ArcGISVE.exe)

Syntax

JScript
 function GetResourceInfo(
	url : string, 
	callback : function
)

Parameters

url
Type: string
Url of the map service REST resource.
callback
Type: function
Function to handle response. This function must take one argument, which will be the JSON-formatted object with service information.

Remarks

For a discussion of working with JSON-formatted objects and also for for an example of working with service information, see the "Working with JSON" topic in the page ArcGIS Services Directory and the REST API.

See Also