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
NoneNo RetentionPeriod.
MinutesRetentionPeriod property will be measured in minutes.
HoursRetentionPeriod property will be measured in hours.
DaysRetentionPeriod property will be measured in days.