ServiceData

A class containing information returned from some of the query methods, including Query, QueryFromService, and QueryRelatedObject.

Property

Type

Description

ServiceDataOptions

ServiceDataOptions

Information about the format used to return the query response.

EmbeddedData

byte[]

Bytes used to store embedded data.

NotModified

bool

The response did not change for the request based on the Etag sent in ServiceDataOptions.

Object

object

The object returned is either a DataObjects or a DataObjectGroups depending on whether or not the query request including the option to group results by layer/table.

ResponseEtag

string

Etag of the current response, if generate new otherwise it is empty.

URI

string

If the request is returned in JSON a URL to the response is returned otherwise it is empty.

Remarks

For grouped results, the ServiceData.Object method returns a DataObjectGroups object which allows you to step through the results one group at a time. For ungrouped results, the ServiceData.Object method returns DataObjects which allow you to step through all results.

2/28/2020