ChangeTrackingRetentionPeriod 属性

Gets or sets the CHANGE_TRACKING_RETENTION_PERIOD value.

命名空间:  Microsoft.SqlServer.Management.Smo
程序集:  Microsoft.SqlServer.Smo(在 Microsoft.SqlServer.Smo.dll 中)

语法

声明
<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.