Partager via


RetentionPeriodUnits Enumeration

Enumerates values that specify the units for the retention period.

Espace de noms: Microsoft.SqlServer.Replication
Assembly: Microsoft.SqlServer.Rmo (in microsoft.sqlserver.rmo.dll)

Syntaxe

'Déclaration
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.

Notes

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.

Plateformes

Plateformes de développement

Pour obtenir la liste des plateformes prises en charge, consultez Configuration matérielle et logicielle requise pour l'installation de SQL Server 2005.

Plateformes cibles

Pour obtenir la liste des plateformes prises en charge, consultez Configuration matérielle et logicielle requise pour l'installation de SQL Server 2005.

Voir aussi

Référence

Microsoft.SqlServer.Replication Namespace