AuditInfo Class

Represents audit information appended to numerous complex types.

Inheritance Hierarchy

System.Object
  Microsoft.MasterDataServices.AuditInfo

Namespace:  Microsoft.MasterDataServices
Assembly:  Microsoft.MasterDataServices (in Microsoft.MasterDataServices.dll)

Syntax

'Declaration
<DataContractAttribute(Name := "AuditInfo", Namespace := "https://schemas.microsoft.com/sqlserver/masterdataservices/2009/09")> _
Public Class AuditInfo _
    Implements IExtensibleDataObject
'Usage
Dim instance As AuditInfo
[DataContractAttribute(Name = "AuditInfo", Namespace = "https://schemas.microsoft.com/sqlserver/masterdataservices/2009/09")]
public class AuditInfo : IExtensibleDataObject
[DataContractAttribute(Name = L"AuditInfo", Namespace = L"https://schemas.microsoft.com/sqlserver/masterdataservices/2009/09")]
public ref class AuditInfo : IExtensibleDataObject
[<DataContractAttribute(Name = "AuditInfo", Namespace = "https://schemas.microsoft.com/sqlserver/masterdataservices/2009/09")>]
type AuditInfo =  
    class
        interface IExtensibleDataObject
    end
public class AuditInfo implements IExtensibleDataObject

The AuditInfo type exposes the following members.

Constructors

  Name Description
Public method AuditInfo Initializes a new instance of the AuditInfo class.

Top

Properties

  Name Description
Public property CreatedDateTime Gets or sets the date and time when the associated object was created.
Public property CreatedUserId Gets or sets the user identifier in which the associated object was created.
Public property CreatedVersionId Gets or sets the version identifier in which the associated object was created.
Public property ExtensionData Gets or sets an object containing extra data.
Public property UpdatedDateTime Gets or sets the last date and time that the associated object was updated.
Public property UpdatedUserId Gets or sets the identifier of the last user that updated the object.
Public property UpdatedVersionId Gets or sets the identifier of the version in which the associated object was last update.

Top

Methods

  Name Description
Public method Equals (Inherited from Object.)
Protected method Finalize (Inherited from Object.)
Public method GetHashCode (Inherited from Object.)
Public method GetType (Inherited from Object.)
Protected method MemberwiseClone (Inherited from Object.)
Public method ToString (Inherited from Object.)

Top

Remarks

Use AuditInfo to store object modification history. Always use AuditInfo for read-only data.

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.