다음을 통해 공유


ChangeTrackingRetentionPeriod 속성

Gets or sets the CHANGE_TRACKING_RETENTION_PERIOD value.

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

구문

‘선언
<SfcPropertyAttribute> _
Public Property ChangeTrackingRetentionPeriod As Integer
    Get
    Set
‘사용 방법
Dim instance As Database
Dim value As Integer

value = instance.ChangeTrackingRetentionPeriod

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

속성 값

형식: System. . :: . .Int32
A Int32 that specifies the minimum period to retain tracing information.

구현

IDatabaseOptions. . :: . .ChangeTrackingRetentionPeriod

주의

A ChangeTrackingRetentionPeriod Specifies the minimum period for keeping change track information in the database. Data is removed only if the Auto Clean-Up value is True.