다음을 통해 공유


IDatabaseOptions.ChangeTrackingAutoCleanUp 속성

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

네임스페이스:  Microsoft.SqlServer.Management.Smo
어셈블리:  Microsoft.SqlServer.Smo(Microsoft.SqlServer.Smo.dll)

구문

‘선언
<DisplayNameKeyAttribute("Database_ChangeTrackingAutoCleanUpName")> _
<DisplayDescriptionKeyAttribute("Database_ChangeTrackingAutoCleanUpDesc")> _
Property ChangeTrackingAutoCleanUp As Boolean 
    Get 
    Set
‘사용 방법
Dim instance As IDatabaseOptions 
Dim value As Boolean 

value = instance.ChangeTrackingAutoCleanUp

instance.ChangeTrackingAutoCleanUp = value
[DisplayNameKeyAttribute("Database_ChangeTrackingAutoCleanUpName")]
[DisplayDescriptionKeyAttribute("Database_ChangeTrackingAutoCleanUpDesc")]
bool ChangeTrackingAutoCleanUp { get; set; }
[DisplayNameKeyAttribute(L"Database_ChangeTrackingAutoCleanUpName")]
[DisplayDescriptionKeyAttribute(L"Database_ChangeTrackingAutoCleanUpDesc")]
property bool ChangeTrackingAutoCleanUp {
    bool get ();
    void set (bool value);
}
[<DisplayNameKeyAttribute("Database_ChangeTrackingAutoCleanUpName")>]
[<DisplayDescriptionKeyAttribute("Database_ChangeTrackingAutoCleanUpDesc")>]
abstract ChangeTrackingAutoCleanUp : bool with get, set
function get ChangeTrackingAutoCleanUp () : boolean 
function set ChangeTrackingAutoCleanUp (value : boolean)

속성 값

유형: System.Boolean
A Boolean value that specifies whether change tracking information is automatically removed.If True, change tracking information is automatically removed after a configurable retention period.If False (default), change tracking information is not automatically removed.

주의

The change tracking retention period can be configured with the ChangeTrackingRetentionPeriod property.

참고 항목

참조

IDatabaseOptions 인터페이스

Microsoft.SqlServer.Management.Smo 네임스페이스