ServiceDownload Method (Int32, String, String, Boolean, Int32)

PreStorm - A Data Client for ArcGIS Server REST API
Downloads and yields features whose attributes and geometry are dynamically accessed at runtime. Possibly throws RestException.

Namespace:  PreStorm
Assembly:  PreStorm (in PreStorm.dll) Version: 1.8.19.0 (1.8.19.0)
Syntax

public IEnumerable<DynamicFeature> Download(
	int layerId,
	string whereClause = null,
	string extraParameters = null,
	bool keepQuerying = false,
	int degreeOfParallelism = 1
)

Parameters

layerId
Type: SystemInt32
The layer ID of the feature layer or table.
whereClause (Optional)
Type: SystemString
The where clause. If set to null, returns all features.
extraParameters (Optional)
Type: SystemString
The query string that describes any additional query parameters (i.e. outSR=4326). Each parameter must be url encoded.
keepQuerying (Optional)
Type: SystemBoolean
If set to true, repetitively queries the server until all features have been returned.
degreeOfParallelism (Optional)
Type: SystemInt32
The maximum number of concurrent requests.

Return Value

Type: IEnumerableDynamicFeature

Implements

IServiceDownload(Int32, String, String, Boolean, Int32)
See Also

Reference