共用方式為


RetentionPeriodUnits Enumeration

Enumerates values that specify the units for the retention period.

命名空間: Microsoft.SqlServer.Replication
組件: Microsoft.SqlServer.Rmo (in microsoft.sqlserver.rmo.dll)

語法

'宣告
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.

備註

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.

平台

開發平台

如需受支援的平台清單,請參閱<安裝 SQL Server 2005 的硬體和軟體需求>。

目標平台

如需受支援的平台清單,請參閱<安裝 SQL Server 2005 的硬體和軟體需求>。

請參閱

參考

Microsoft.SqlServer.Replication Namespace