Свойство Database.ChangeTrackingRetentionPeriod
Gets or sets the CHANGE_TRACKING_RETENTION_PERIOD value.
Пространство имен: Microsoft.SqlServer.Management.Smo
Сборка: Microsoft.SqlServer.Smo (в Microsoft.SqlServer.Smo.dll)
Синтаксис
'Декларация
<SfcPropertyAttribute(SfcPropertyFlags.None Or SfcPropertyFlags.Standalone Or SfcPropertyFlags.Deploy)> _
Public Property ChangeTrackingRetentionPeriod As Integer
Get
Set
'Применение
Dim instance As Database
Dim value As Integer
value = instance.ChangeTrackingRetentionPeriod
instance.ChangeTrackingRetentionPeriod = value
[SfcPropertyAttribute(SfcPropertyFlags.None|SfcPropertyFlags.Standalone|SfcPropertyFlags.Deploy)]
public int ChangeTrackingRetentionPeriod { get; set; }
[SfcPropertyAttribute(SfcPropertyFlags::None|SfcPropertyFlags::Standalone|SfcPropertyFlags::Deploy)]
public:
virtual property int ChangeTrackingRetentionPeriod {
int get () sealed;
void set (int value) sealed;
}
[<SfcPropertyAttribute(SfcPropertyFlags.None|SfcPropertyFlags.Standalone|SfcPropertyFlags.Deploy)>]
abstract ChangeTrackingRetentionPeriod : int with get, set
[<SfcPropertyAttribute(SfcPropertyFlags.None|SfcPropertyFlags.Standalone|SfcPropertyFlags.Deploy)>]
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.
См. также
Справочник
Пространство имен Microsoft.SqlServer.Management.Smo