Share via


QueryOptions Class

Definition

Additional parameters for a set of operations.

public class QueryOptions
type QueryOptions = class
Public Class QueryOptions
Inheritance
QueryOptions

Constructors

QueryOptions()

Initializes a new instance of the QueryOptions class.

QueryOptions(Nullable<Int32>, String, String, String, Nullable<DateTime>, Nullable<DateTime>, String, String, String)

Initializes a new instance of the QueryOptions class.

Properties

Apply

Gets or sets oData apply expression for aggregations.

Expand

Gets or sets the $expand query parameter. For example, to expand components use $expand=components

Filter

Gets or sets oData filter expression.

FromProperty

Gets or sets ISO 8601 formatted timestamp specifying the start time of the interval to query. When not specified, the service uses ($to

  • 1-day).
OrderBy

Gets or sets ordering expression using OData notation. One or more comma-separated column names with an optional "desc" (the default) or "asc", e.g. "$orderby=PolicyAssignmentId, ResourceId asc".

Select

Gets or sets select expression using OData notation. Limits the columns on each record to just those requested, e.g. "$select=PolicyAssignmentId, ResourceId".

SkipToken

Gets or sets skiptoken is only provided if a previous response returned a partial result as a part of nextLink element.

To

Gets or sets ISO 8601 formatted timestamp specifying the end time of the interval to query. When not specified, the service uses request time.

Top

Gets or sets maximum number of records to return.

Applies to