Udostępnij przez


Database.ChangeTrackingEnabled Property

Gets or sets a property value that specifies whether the CHANGE_TRACKING_VALUE option is enabled

Namespace: Microsoft.SqlServer.Management.Smo
Assembly: Microsoft.SqlServer.Smo (in microsoft.sqlserver.smo.dll)

Syntax

'Deklaracja
<SfcPropertyAttribute> _
Public Property ChangeTrackingEnabled As Boolean
[SfcPropertyAttribute] 
public bool ChangeTrackingEnabled { get; set; }
[SfcPropertyAttribute] 
public:
virtual property bool ChangeTrackingEnabled {
    bool get () sealed;
    void set (bool value) sealed;
}
/** @property */
public final boolean get_ChangeTrackingEnabled ()

/** @property */
public final void set_ChangeTrackingEnabled (boolean value)
public final function get ChangeTrackingEnabled () : boolean

public final function set ChangeTrackingEnabled (value : boolean)

Property Value

A Boolean value that specifies whether change tracking information is saved .

Remarks

Use to enable or disable change tracking for the database. To enable change tracking, you must have permission to modify the database. Setting ChangeTrackingEnabled to True sets a database option that allows change tracking to be enabled on individual tables.

Thread Safety

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

Platforms

Development Platforms

For a list of the supported platforms, see Hardware and Software Requirements for Installing SQL Server.

Target Platforms

For a list of the supported platforms, see Hardware and Software Requirements for Installing SQL Server.