Sdílet prostřednictvím


RetentionPeriodUnits Enumeration

Enumerates values that specify the units for the retention period.

Namespace:  Microsoft.SqlServer.Replication
Assembly:  Microsoft.SqlServer.Rmo (in Microsoft.SqlServer.Rmo.dll)

Syntax

'Declaration
Public Enumeration RetentionPeriodUnits
'Usage
Dim instance As RetentionPeriodUnits
public enum RetentionPeriodUnits
public enum class RetentionPeriodUnits
type RetentionPeriodUnits
public enum RetentionPeriodUnits

Members

Member name Description
Days Retention period is specified in days.
Weeks Retention period is specified in weeks.
Months Retention period is specified in months.
Years Retention period is specified in years.
Hours
Minutes

Remarks

The RetentionPeriodUnits enumeration is used only with merge replication.

This namespace, class, or member is supported only in version 2.0 of the .NET Framework.