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.
實作
備註
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.