Database.ChangeTrackingRetentionPeriodUnits Database.ChangeTrackingRetentionPeriodUnits Database.ChangeTrackingRetentionPeriodUnits Property

Definition

Gets or sets the unit type for a retention period value.

public:
 property Microsoft::SqlServer::Management::Smo::RetentionPeriodUnits ChangeTrackingRetentionPeriodUnits { Microsoft::SqlServer::Management::Smo::RetentionPeriodUnits get(); void set(Microsoft::SqlServer::Management::Smo::RetentionPeriodUnits value); };
[Microsoft.SqlServer.Management.Sdk.Sfc.Metadata.SfcProperty(Microsoft.SqlServer.Management.Sdk.Sfc.Metadata.SfcPropertyFlags.Standalone | Microsoft.SqlServer.Management.Sdk.Sfc.Metadata.SfcPropertyFlags.SqlAzureDatabase | Microsoft.SqlServer.Management.Sdk.Sfc.Metadata.SfcPropertyFlags.Deploy)]
public Microsoft.SqlServer.Management.Smo.RetentionPeriodUnits ChangeTrackingRetentionPeriodUnits { get; set; }
Public Property ChangeTrackingRetentionPeriodUnits As RetentionPeriodUnits
Property Value

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

Implements

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.

Applies to