Dela via


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.
Hours Retention period specified in hours.
Minutes Retention period specified in minutes.
Months Retention period is specified in months.
Weeks Retention period is specified in weeks.
Years Retention period is specified in years.

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.

See Also

Reference

Microsoft.SqlServer.Replication Namespace