共用方式為


RetentionPeriodUnits 列舉

Enumerates values that specify the units for the retention period.

命名空間:  Microsoft.SqlServer.Replication
組件:  Microsoft.SqlServer.Rmo (在 Microsoft.SqlServer.Rmo.dll 中)

語法

'宣告
Public Enumeration RetentionPeriodUnits
'用途
Dim instance As RetentionPeriodUnits
public enum RetentionPeriodUnits
public enum class RetentionPeriodUnits
type RetentionPeriodUnits
public enum RetentionPeriodUnits

成員

成員名稱 說明
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 Retention period specified in hours.
Minutes Retention period specified in minutes.

備註

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.

請參閱

參考

Microsoft.SqlServer.Replication 命名空間