Database.ChangeTrackingRetentionPeriodUnits Property
Gets or sets the unit type for a retention period value.
Namespace: Microsoft.SqlServer.Management.Smo
Assembly: Microsoft.SqlServer.Smo (in microsoft.sqlserver.smo.dll)
Syntax
'Deklaracja
<SfcPropertyAttribute> _
Public Property ChangeTrackingRetentionPeriodUnits As RetentionPeriodUnits
[SfcPropertyAttribute]
public RetentionPeriodUnits ChangeTrackingRetentionPeriodUnits { get; set; }
[SfcPropertyAttribute]
public:
virtual property RetentionPeriodUnits ChangeTrackingRetentionPeriodUnits {
RetentionPeriodUnits get () sealed;
void set (RetentionPeriodUnits value) sealed;
}
/** @property */
public final RetentionPeriodUnits get_ChangeTrackingRetentionPeriodUnits ()
/** @property */
public final void set_ChangeTrackingRetentionPeriodUnits (RetentionPeriodUnits value)
public final function get ChangeTrackingRetentionPeriodUnits () : RetentionPeriodUnits
public final function set ChangeTrackingRetentionPeriodUnits (value : RetentionPeriodUnits)
Property Value
A RetentionPeriodUnits type that specifies the units for the Retention Period value.
Remarks
You can select Minutes, Hours, Days, Weeks, Months or Years. The default value is Days. The minimum retention period is 1 minute. There is no maximum retention period.
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