共用方式為


DeleteRetentionPolicy Constructors

Definition

Overloads

DeleteRetentionPolicy()

Initializes a new instance of the DeleteRetentionPolicy class.

DeleteRetentionPolicy(Nullable<Boolean>, Nullable<Int32>)

Initializes a new instance of the DeleteRetentionPolicy class.

DeleteRetentionPolicy()

Initializes a new instance of the DeleteRetentionPolicy class.

public DeleteRetentionPolicy ();
Public Sub New ()

Applies to

DeleteRetentionPolicy(Nullable<Boolean>, Nullable<Int32>)

Initializes a new instance of the DeleteRetentionPolicy class.

public DeleteRetentionPolicy (bool? enabled = default, int? days = default);
new Microsoft.Azure.Management.Storage.Fluent.Models.DeleteRetentionPolicy : Nullable<bool> * Nullable<int> -> Microsoft.Azure.Management.Storage.Fluent.Models.DeleteRetentionPolicy
Public Sub New (Optional enabled As Nullable(Of Boolean) = Nothing, Optional days As Nullable(Of Integer) = Nothing)

Parameters

enabled
Nullable<Boolean>

Indicates whether DeleteRetentionPolicy is enabled for the Blob service.

days
Nullable<Int32>

Indicates the number of days that the deleted blob should be retained. The minimum specified value can be 1 and the maximum value can be 365.

Applies to