Поделиться через


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.

Платформы

Платформы разработки

Список поддерживаемых платформ см. в разделе Hardware and Software Requirements for Installing SQL Server 2005.

Целевые платформы

Список поддерживаемых платформ см. в разделе Hardware and Software Requirements for Installing SQL Server 2005.

См. также

Справочник

Microsoft.SqlServer.Replication Namespace