Database.ChangeTrackingRetentionPeriod Property
Gets or sets the CHANGE_TRACKING_RETENTION_PERIOD value.
Namespace: Microsoft.SqlServer.Management.Smo
Assembly: Microsoft.SqlServer.Smo (in microsoft.sqlserver.smo.dll)
Syntax
'Deklaracja
<SfcPropertyAttribute> _
Public Property ChangeTrackingRetentionPeriod As Integer
[SfcPropertyAttribute]
public int ChangeTrackingRetentionPeriod { get; set; }
[SfcPropertyAttribute]
public:
virtual property int ChangeTrackingRetentionPeriod {
int get () sealed;
void set (int value) sealed;
}
/** @property */
public final int get_ChangeTrackingRetentionPeriod ()
/** @property */
public final void set_ChangeTrackingRetentionPeriod (int value)
public final function get ChangeTrackingRetentionPeriod () : int
public final function set ChangeTrackingRetentionPeriod (value : int)
Property Value
A Int32 that specifies the minimum period to retain tracing information.
Remarks
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.
Thread Safety
Any public static (Shared in Microsoft Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.
Platforms
Development Platforms
For a list of the supported platforms, see Hardware and Software Requirements for Installing SQL Server.
Target Platforms
For a list of the supported platforms, see Hardware and Software Requirements for Installing SQL Server.
See Also
Reference
Database Class
Database Members
Microsoft.SqlServer.Management.Smo Namespace