Feature Service QueryFromService method

Queries and returns the features/objects for queries involving one or more layers and tables.

 

QueryFromService (GFSTableDescription[] LayerOrTableDescriptions, Geometry Geometry, SpatialReference outSR, TimeReference outTR, ServiceDataOptions ServiceDataOptions)

 

Parameter

Description

LayerOrTableDescriptions

Describes the tables or layers and/or types of interest in the service.

Geometry

Defines the extent for which features are being queried.

OutSR

The spatial reference in which to return the results.

OutTR

The time reference in which to return the results.

ServiceDataOptions

Specifies the format and transport types.

 

Return Value

 

An object of ServiceData type, which has an array of DataObjectGroup elements.

 

Remarks

 

The OutSR and OutTR parameters are optional. If you do not need to set the spatial reference or the time reference set the parameters to null.