Export (0) Print
Expand All
Expand Minimize

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)

'Declaration
<SfcPropertyAttribute(SfcPropertyFlags.None Or SfcPropertyFlags.Standalone Or SfcPropertyFlags.Deploy)> _
Public Property ChangeTrackingEnabled As Boolean 
	Get 
	Set
'Usage
Dim instance As Database 
Dim value As Boolean 

value = instance.ChangeTrackingEnabled

instance.ChangeTrackingEnabled = value

Property Value

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

Implements

IDatabaseOptions.ChangeTrackingEnabled

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.

Was this page helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

ADD
Show:
© 2014 Microsoft