Database::ChangeTrackingEnabled Property

 

Gets or sets a 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)

public:
[SfcPropertyAttribute(SfcPropertyFlags::None | SfcPropertyFlags::Standalone | SfcPropertyFlags::SqlAzureDatabase | SfcPropertyFlags::Deploy)]
property bool ChangeTrackingEnabled {
	virtual bool get() sealed;
	virtual void set(bool value) sealed;
}

Property Value

Type: System::Boolean

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

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.

Return to top
Show: