Expand Minimize
This topic has not yet been rated - Rate this topic

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)
[SfcPropertyAttribute(SfcPropertyFlags::None|SfcPropertyFlags::Standalone|SfcPropertyFlags::Deploy)]
public:
virtual property RetentionPeriodUnits ChangeTrackingRetentionPeriodUnits {
	RetentionPeriodUnits get () sealed;
	void set (RetentionPeriodUnits value) sealed;
}

Property Value

Type: Microsoft.SqlServer.Management.Smo::RetentionPeriodUnits
A RetentionPeriodUnits type that specifies the units for the Retention Period value.

Implements

IDatabaseOptions::ChangeTrackingRetentionPeriodUnits

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.

Did you find this helpful?
(1500 characters remaining)

Community Additions

ADD
© 2013 Microsoft. All rights reserved.