Condividi tramite


IAuditRecordsCollection.QueryAsync Method

Definition

Asynchronously queries audit records associated to the partner. The following queries are supported:

  • Specify the number of audit record to return.
  • Filter the result with a customer name.
public System.Threading.Tasks.Task<Microsoft.Store.PartnerCenter.Models.SeekBasedResourceCollection<Microsoft.Store.PartnerCenter.Models.Auditing.AuditRecord>> QueryAsync (DateTime startDate, DateTime? endDate = default, Microsoft.Store.PartnerCenter.Models.Query.IQuery query = default);
abstract member QueryAsync : DateTime * Nullable<DateTime> * Microsoft.Store.PartnerCenter.Models.Query.IQuery -> System.Threading.Tasks.Task<Microsoft.Store.PartnerCenter.Models.SeekBasedResourceCollection<Microsoft.Store.PartnerCenter.Models.Auditing.AuditRecord>>
Public Function QueryAsync (startDate As DateTime, Optional endDate As Nullable(Of DateTime) = Nothing, Optional query As IQuery = Nothing) As Task(Of SeekBasedResourceCollection(Of AuditRecord))

Parameters

startDate
DateTime

The start date of the audit record logs.

endDate
Nullable<DateTime>

The end date of the audit record logs.

query
IQuery

The query.

Returns

The audit records that match the given query.

Applies to