Condividi tramite


RetentionPeriodUnits Enumeration

Enumerates values that specify the units for the retention period.

Spazio dei nomi: Microsoft.SqlServer.Replication
Assembly : Microsoft.SqlServer.Rmo (in microsoft.sqlserver.rmo.dll)

Sintassi

'Dichiarazione
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.

Osservazioni

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.

Piattaforme

Piattaforme di sviluppo

Per un elenco delle piattaforme supportate, vedere Requisiti hardware e software per l'Installazione di SQL Server 2005.

Piattaforme di destinazione

Per un elenco delle piattaforme supportate, vedere Requisiti hardware e software per l'Installazione di SQL Server 2005.

Vedere anche

Riferimento

Microsoft.SqlServer.Replication Namespace