RetrieveAuditDetailsRequest RetrieveAuditDetailsRequest RetrieveAuditDetailsRequest RetrieveAuditDetailsRequest Class

Definition

Contains the data that is needed to retrieve the full audit details from an Audit record.

public ref class RetrieveAuditDetailsRequest sealed : Microsoft::Xrm::Sdk::OrganizationRequest
[System.Runtime.Serialization.DataContract(Namespace="http://schemas.microsoft.com/crm/2011/Contracts")]
public sealed class RetrieveAuditDetailsRequest : Microsoft.Xrm.Sdk.OrganizationRequest
type RetrieveAuditDetailsRequest = class
    inherit OrganizationRequest
Public NotInheritable Class RetrieveAuditDetailsRequest
Inherits OrganizationRequest
Inheritance
RetrieveAuditDetailsRequestRetrieveAuditDetailsRequestRetrieveAuditDetailsRequestRetrieveAuditDetailsRequest
Attributes

Examples


      Console.WriteLine("Retrieving audit details for an audit record.");
// Retrieve the audit details and display them.
      var auditDetailsRequest = new RetrieveAuditDetailsRequest
      {
          AuditId = auditSampleId
      };
        var auditDetailsResponse = (RetrieveAuditDetailsResponse)svc.Execute(auditDetailsRequest);

The following example shows how to use this message. For this sample to work correctly, you must be connected to the server to get an IOrganizationService interface. For the complete sample, see the link later in this topic.

Auditing#Auditing8

AuditingVB#Auditing8

Remarks

Message Availability

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

Usage

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

Privileges and Access Rights

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

Notes for Callers

Changes to entity attribute values are stored in an Audit record in a comma-separated value (.csv) file. The RetrieveAuditDetailsResponse class returns the changed data as a data collection.

Constructors

RetrieveAuditDetailsRequest() RetrieveAuditDetailsRequest() RetrieveAuditDetailsRequest() RetrieveAuditDetailsRequest()

Initializes a new instance of the RetrieveAuditDetailsRequest class.

Properties

AuditId AuditId AuditId AuditId

Gets or sets the ID of the Audit record to retrieve. Required.

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

See also