Feature Service Delete method

Deletes features or objects in a layer or table that satisfy a query filter.

 

Delete(int LayerOrTableID, string DefinitionExpression, QueryFilter QueryFilter)

 

Parameter

Description

LayerOrTableID

The ID of the layer or table from which to delete features or objects.

DefinitionExpression

A type’s definition expression.

QueryFilter

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

 

Return Value

 

There are no values returned.

 

Remarks

 

The features or objects that match the criteria in query filter and definition expression are deleted from the layer or table with the identifier specified in the LayerOrTableID.