RetentionDuration Constructors
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Overloads
RetentionDuration() |
Initializes a new instance of the RetentionDuration class. |
RetentionDuration(Nullable<Int32>, String) |
Initializes a new instance of the RetentionDuration class. |
RetentionDuration()
Initializes a new instance of the RetentionDuration class.
public RetentionDuration ();
Public Sub New ()
Applies to
RetentionDuration(Nullable<Int32>, String)
Initializes a new instance of the RetentionDuration class.
public RetentionDuration (int? count = default, string durationType = default);
new Microsoft.Azure.Management.RecoveryServices.Backup.Models.RetentionDuration : Nullable<int> * string -> Microsoft.Azure.Management.RecoveryServices.Backup.Models.RetentionDuration
Public Sub New (Optional count As Nullable(Of Integer) = Nothing, Optional durationType As String = Nothing)
Parameters
Count of duration types. Retention duration is obtained by the counting the duration type Count times. For example, when Count = 3 and DurationType = Weeks, retention duration will be three weeks.
- durationType
- String
Retention duration type of retention policy. Possible values include: 'Invalid', 'Days', 'Weeks', 'Months', 'Years'
Applies to
Azure SDK for .NET