Partager via


ChangeTrackingAutoCleanUp propriété

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

Espace de noms :  Microsoft.SqlServer.Management.Smo
Assembly :  Microsoft.SqlServer.Smo (dans Microsoft.SqlServer.Smo.dll)

Syntaxe

'Déclaration
<SfcPropertyAttribute> _
Public Property ChangeTrackingAutoCleanUp As Boolean
    Get
    Set
'Utilisation
Dim instance As Database
Dim value As Boolean

value = instance.ChangeTrackingAutoCleanUp

instance.ChangeTrackingAutoCleanUp = value
[SfcPropertyAttribute]
public bool ChangeTrackingAutoCleanUp { get; set; }
[SfcPropertyAttribute]
public:
virtual property bool ChangeTrackingAutoCleanUp {
    bool get () sealed;
    void set (bool value) sealed;
}
[<SfcPropertyAttribute>]
abstract ChangeTrackingAutoCleanUp : bool with get, set
[<SfcPropertyAttribute>]
override ChangeTrackingAutoCleanUp : bool with get, set
final function get ChangeTrackingAutoCleanUp () : boolean
final function set ChangeTrackingAutoCleanUp (value : boolean)

Valeur de la propriété

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.

Implémente

IDatabaseOptions. . :: . .ChangeTrackingAutoCleanUp