共用方式為


AttributeAuditDetail Class

 

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

Contains the details of changes to entity attributes.

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

Syntax

[DataContractAttribute(Namespace = "https://schemas.microsoft.com/crm/2011/Contracts")]
public sealed class AttributeAuditDetail : AuditDetail
<DataContractAttribute(Namespace := "https://schemas.microsoft.com/crm/2011/Contracts")>
Public NotInheritable Class AttributeAuditDetail
    Inherits AuditDetail

Constructors

Name Description
System_CAPS_pubmethod AttributeAuditDetail()

Initializes a new instance of the AttributeAuditDetail class.

Properties

Name Description
System_CAPS_pubproperty AuditRecord

Gets or sets the related Audit record that contains the change details.(Inherited from AuditDetail.)

System_CAPS_pubproperty DeletedAttributes

Gets a list of deleted attributes.

System_CAPS_pubproperty ExtensionData

Gets or sets the structure that contains extra data. Optional.(Inherited from AuditDetail.)

System_CAPS_pubproperty InvalidNewValueAttributes

Gets a collection of attempted attribute changes that are not valid.

System_CAPS_pubproperty LocLabelLanguageCode

Gets or sets the language code for the label.

System_CAPS_pubproperty NewValue

Gets or sets a collection of new values for an entity attribute.

System_CAPS_pubproperty OldValue

Gets or sets a collection of former values for an entity attribute.

Methods

Name Description
System_CAPS_pubmethod Equals(Object)

(Inherited from Object.)

System_CAPS_pubmethod GetHashCode()

(Inherited from Object.)

System_CAPS_pubmethod GetType()

(Inherited from Object.)

System_CAPS_pubmethod ToString()

(Inherited from Object.)

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
Sample: Audit entity data changes

Return to top

Microsoft Dynamics 365

© 2016 Microsoft. All rights reserved. Copyright