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 | SfcPropertyFlags.Standalone | SfcPropertyFlags.SqlAzureDatabase | SfcPropertyFlags.Deploy)>]
abstract ChangeTrackingAutoCleanUp : bool with get, set
[<SfcPropertyAttribute(SfcPropertyFlags.None | SfcPropertyFlags.Standalone | SfcPropertyFlags.SqlAzureDatabase | SfcPropertyFlags.Deploy)>]
override ChangeTrackingAutoCleanUp : bool with get, set

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
Show: