IAuditRecordsCollection.Query Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.
- query
- IQuery
The query.
Returns
The audit records that match the given query.