Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All

Database.ChangeTrackingRetentionPeriodUnits Property

 

Applies To: SQL Server 2016 Preview

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 RetentionPeriodUnits ChangeTrackingRetentionPeriodUnits { get; set; }

Property Value

Type: Microsoft.SqlServer.Management.Smo.RetentionPeriodUnits

A RetentionPeriodUnits type that specifies the units for the Retention Period value.

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.

Return to top
Show:
© 2015 Microsoft