Feature Service Query method

Queries and returns the features or objects that satisfy the query criteria.

 

Query(int LayerOrTableID, string DefinitionExpression, QueryFilter QueryFilter, ServiceDataOptions ServiceDataOptions)

 

Parameter

Description

LayerOrTableID

The identifier for the layer or table.

DefinitionExpression

The definition expression.

QueryFilter

Describes the features or objects to query based on attribute expressions, time and/or spatial filters.

ServiceDataOptions

Specifies the format and transport types.

 

Return Value

 

A ServiceData object.

 

Remarks

 

The returned object has features or objects in the user specified formats, such as "AMF", "JSON" and "Native".