Export (0) Print
Expand All
Collapse the table of content
Expand the table of content
Expand Minimize

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)

'Declaration
<SfcPropertyAttribute(SfcPropertyFlags.None Or SfcPropertyFlags.Standalone Or SfcPropertyFlags.Deploy)> _
Public Property ChangeTrackingRetentionPeriodUnits As RetentionPeriodUnits 
	Get 
	Set
'Usage
Dim instance As Database 
Dim value As RetentionPeriodUnits 

value = instance.ChangeTrackingRetentionPeriodUnits

instance.ChangeTrackingRetentionPeriodUnits = value

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.

Was this page helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

ADD
Show:
© 2015 Microsoft