Database.ChangeTrackingEnabled Database.ChangeTrackingEnabled Database.ChangeTrackingEnabled Property

Definition

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

public:
 property bool ChangeTrackingEnabled { bool get(); void set(bool value); };
[Microsoft.SqlServer.Management.Sdk.Sfc.Metadata.SfcProperty(Microsoft.SqlServer.Management.Sdk.Sfc.Metadata.SfcPropertyFlags.Standalone | Microsoft.SqlServer.Management.Sdk.Sfc.Metadata.SfcPropertyFlags.SqlAzureDatabase | Microsoft.SqlServer.Management.Sdk.Sfc.Metadata.SfcPropertyFlags.Deploy)]
public bool ChangeTrackingEnabled { get; set; }
Public Property ChangeTrackingEnabled As Boolean
Property Value

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

Implements

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.

Applies to