IService.Download Method (String, 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

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

Parameters

layerName
Type: System.String
The name of the feature layer or table. If the service contains two or more layers with this name, use the overload that takes the layer ID rather than the name.
whereClause (Optional)
Type: System.String
The where clause. If set to null, returns all features.
extraParameters (Optional)
Type: System.String
The query string that describes any additional query parameters (i.e. outSR=4326). Each parameter must be url encoded.
keepQuerying (Optional)
Type: System.Boolean
If set to true, repetitively queries the server until all features have been returned.
degreeOfParallelism (Optional)
Type: System.Int32
The maximum number of concurrent requests.

Return Value

Type: IEnumerable<DynamicFeature>
See Also

Reference