共用方式為


AuditDetail Class

 

Applies To: Dynamics 365 (online), Dynamics 365 (on-premises), Dynamics CRM 2016, Dynamics CRM Online

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))]
[KnownTypeAttribute(typeof(AttributeAuditDetail))]
[KnownTypeAttribute(typeof(ShareAuditDetail))]
[DataContractAttribute(Namespace = "https://schemas.microsoft.com/crm/2011/Contracts")]
public class AuditDetail : IExtensibleDataObject
<KnownTypeAttribute(GetType(RelationshipAuditDetail))>
<KnownTypeAttribute(GetType(AttributeAuditDetail))>
<KnownTypeAttribute(GetType(ShareAuditDetail))>
<DataContractAttribute(Namespace := "https://schemas.microsoft.com/crm/2011/Contracts")>
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

Microsoft Dynamics 365

© 2016 Microsoft. All rights reserved. Copyright