Compartilhar via


IServiceIncidentCollection.Query(IQuery) Method

Definition

Queries service incidents.

public Microsoft.Store.PartnerCenter.Models.ResourceCollection<Microsoft.Store.PartnerCenter.Models.ServiceIncidents.ServiceIncidents> Query (Microsoft.Store.PartnerCenter.Models.Query.IQuery serviceIncidentsQuery);
abstract member Query : Microsoft.Store.PartnerCenter.Models.Query.IQuery -> Microsoft.Store.PartnerCenter.Models.ResourceCollection<Microsoft.Store.PartnerCenter.Models.ServiceIncidents.ServiceIncidents>
Public Function Query (serviceIncidentsQuery As IQuery) As ResourceCollection(Of ServiceIncidents)

Parameters

serviceIncidentsQuery
IQuery

A query to retrieve service incidents based on the active status. The QueryFactory can be used to build queries. Service incident queries support simple queries. You can filter service incidents using their active status. ServiceIncidentSearchField lists the supported search fields. You can use the FieldFilterOperation enumeration to specify filtering operations. Supported filtering operations are: equals.

Returns

The list of service incidents that match the query.

Applies to