Database.ChangeTrackingAutoCleanUp Property


Gets or sets a value that specifies whether the CHANGE_TRACKING_AUTO_CLEANUP OPTION is enabled.

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

<SfcPropertyAttribute(SfcPropertyFlags.None Or SfcPropertyFlags.Standalone Or SfcPropertyFlags.SqlAzureDatabase Or SfcPropertyFlags.Deploy)>
Public Property ChangeTrackingAutoCleanUp As Boolean

Property Value

Type: System.Boolean

A Boolean value that specifies whether change tracking information is automatically removed after the specified retention period. Enabling ChangeTrackingAutoCleanUp resets any previous custom retention period to the default retention period of 2 days.

Return to top