We recommend using Visual Studio 2017

RetentionPeriodUnits Enumeration

Enumerates values that specify the units for the retention period.

This enumeration has a FlagsAttribute attribute that allows a bitwise combination of its member values.

Namespace:  Microsoft.SqlServer.Management.Smo
Assembly:  Microsoft.SqlServer.SqlEnum (in Microsoft.SqlServer.SqlEnum.dll)

public enum RetentionPeriodUnits

Member nameDescription
DaysRetentionPeriod property will be measured in days.
HoursRetentionPeriod property will be measured in hours.
MinutesRetentionPeriod property will be measured in minutes.
NoneNo RetentionPeriod.