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
public enum RetentionPeriodUnits
public enum class RetentionPeriodUnits
public enum RetentionPeriodUnits
public enum RetentionPeriodUnits

Members

Member name Description
Days Retention period is specified in days.
Hours
This enumeration supports the SQL Server 2005 infrastructure and is not intended to be used directly from your code.
Minutes
This enumeration supports the SQL Server 2005 infrastructure and is not intended to be used directly from your code.
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.

Platforms

Development Platforms

For a list of the supported platforms, see Hardware and Software Requirements for Installing SQL Server 2005.

Target Platforms

For a list of the supported platforms, see Hardware and Software Requirements for Installing SQL Server 2005.

See Also

Reference

Microsoft.SqlServer.Replication Namespace