AuditDetail Class

 

Applies To: Dynamics CRM 2015

Provides a base class for storing the details of data changes.

Namespace:   Microsoft.Crm.Sdk.Messages
Assembly:  Microsoft.Crm.Sdk.Proxy (in Microsoft.Crm.Sdk.Proxy.dll)

Inheritance Hierarchy

System.Object
  Microsoft.Crm.Sdk.Messages.AuditDetail
    Microsoft.Crm.Sdk.Messages.AttributeAuditDetail
    Microsoft.Crm.Sdk.Messages.RelationshipAuditDetail
    Microsoft.Crm.Sdk.Messages.RolePrivilegeAuditDetail
    Microsoft.Crm.Sdk.Messages.ShareAuditDetail
    Microsoft.Crm.Sdk.Messages.UserAccessAuditDetail

Syntax

[KnownTypeAttribute(typeof(RelationshipAuditDetail))]
[DataContractAttribute(Namespace = "https://schemas.microsoft.com/crm/2011/Contracts")]
[KnownTypeAttribute(typeof(AttributeAuditDetail))]
[KnownTypeAttribute(typeof(ShareAuditDetail))]
public class AuditDetail : IExtensibleDataObject
[KnownTypeAttribute((RelationshipAuditDetail^::typeid))]
[DataContractAttribute(Namespace = "https://schemas.microsoft.com/crm/2011/Contracts")]
[KnownTypeAttribute((AttributeAuditDetail^::typeid))]
[KnownTypeAttribute((ShareAuditDetail^::typeid))]
public ref class AuditDetail : IExtensibleDataObject
[<KnownTypeAttribute(typeof(RelationshipAuditDetail))>]
[<DataContractAttribute(Namespace = "https://schemas.microsoft.com/crm/2011/Contracts")>]
[<KnownTypeAttribute(typeof(AttributeAuditDetail))>]
[<KnownTypeAttribute(typeof(ShareAuditDetail))>]
type AuditDetail = 
    class
        interface IExtensibleDataObject
    end
<KnownTypeAttribute(GetType(RelationshipAuditDetail))>
<DataContractAttribute(Namespace := "https://schemas.microsoft.com/crm/2011/Contracts")>
<KnownTypeAttribute(GetType(AttributeAuditDetail))>
<KnownTypeAttribute(GetType(ShareAuditDetail))>
Public Class AuditDetail
    Implements IExtensibleDataObject

Constructors

Name Description
System_CAPS_pubmethod AuditDetail()

Initializes a new instance of the AuditDetail class.

Properties

Name Description
System_CAPS_pubproperty AuditRecord

Gets or sets the related Audit record that contains the change details.

System_CAPS_pubproperty ExtensionData

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

Methods

Name Description
System_CAPS_pubmethod Equals(Object)

(Inherited from Object.)

System_CAPS_protmethod Finalize()

(Inherited from Object.)

System_CAPS_pubmethod GetHashCode()

(Inherited from Object.)

System_CAPS_pubmethod GetType()

(Inherited from Object.)

System_CAPS_protmethod MemberwiseClone()

(Inherited from Object.)

System_CAPS_pubmethod ToString()

(Inherited from Object.)

Remarks

When you cast an object of this type, use one of its specialized (derived) types: AttributeAuditDetail, RelationshipAuditDetail, RolePrivilegeAuditDetail, or ShareAuditDetail.

Thread Safety

Any public static ( Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

See Also

Microsoft.Crm.Sdk.Messages Namespace

Return to top

© 2016 Microsoft. All rights reserved. Copyright