RetrieveAuditPartitionListRequest RetrieveAuditPartitionListRequest RetrieveAuditPartitionListRequest RetrieveAuditPartitionListRequest Class


Contains the data that is needed to retrieve the list of database partitions that are used to store audited history data.

For the Web API use the RetrieveAuditPartitionList Function.

public ref class RetrieveAuditPartitionListRequest sealed : Microsoft::Xrm::Sdk::OrganizationRequest
public sealed class RetrieveAuditPartitionListRequest : Microsoft.Xrm.Sdk.OrganizationRequest
type RetrieveAuditPartitionListRequest = class
    inherit OrganizationRequest
Public NotInheritable Class RetrieveAuditPartitionListRequest
Inherits OrganizationRequest


// Get the list of audit partitions.
var partitionRequest = (RetrieveAuditPartitionListResponse)svc.Execute(new RetrieveAuditPartitionListRequest());
AuditPartitionDetailCollection partitions = partitionRequest.AuditPartitionDetailCollection;




Message Availability

For this message to work, the caller must be connected to the server.


Pass an instance of this class to the Execute(OrganizationRequest) method, which returns an instance of the RetrieveAuditPartitionListResponse class.

Privileges and Access Rights

For a list of the required privileges, see RetrieveAuditPartitionList message privileges.

Notes for Callers

New partitions are automatically created by the Microsoft Dynamics CRM platform on a quarterly basis each year. Audit partitions exist only on Microsoft Dynamics 365 database servers that support partitioning. The partition list is sorted in date order and then returned.


RetrieveAuditPartitionListRequest() RetrieveAuditPartitionListRequest() RetrieveAuditPartitionListRequest() RetrieveAuditPartitionListRequest()

Initializes a new instance of the RetrieveAuditPartitionListRequest class.


ExtensionData ExtensionData ExtensionData ExtensionData

Gets or sets the structure that contains extra data. Optional.

(Inherited from OrganizationRequest)
Item[String] Item[String] Item[String] Item[String]

Gets or sets the indexer for the Parameters collection.

(Inherited from OrganizationRequest)
Parameters Parameters Parameters Parameters

Gets or sets the collection of parameters for the request. Required, but is supplied by derived classes.

(Inherited from OrganizationRequest)
RequestId RequestId RequestId RequestId

Gets or sets the ID of an asynchronous operation (system job). Optional.

(Inherited from OrganizationRequest)
RequestName RequestName RequestName RequestName

Gets or sets the name of the request. Required, but is supplied by derived classes.

(Inherited from OrganizationRequest)

Applies to