Condividi tramite


IAuditRecordsCollection.Query Method

Definition

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 Microsoft.Store.PartnerCenter.Models.SeekBasedResourceCollection<Microsoft.Store.PartnerCenter.Models.Auditing.AuditRecord> Query (DateTime startDate, DateTime? endDate = default, Microsoft.Store.PartnerCenter.Models.Query.IQuery query = default);
abstract member Query : DateTime * Nullable<DateTime> * Microsoft.Store.PartnerCenter.Models.Query.IQuery -> Microsoft.Store.PartnerCenter.Models.SeekBasedResourceCollection<Microsoft.Store.PartnerCenter.Models.Auditing.AuditRecord>
Public Function Query (startDate As DateTime, Optional endDate As Nullable(Of DateTime) = Nothing, Optional query As IQuery = Nothing) As 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