Megosztás a következőn keresztül:


DeleteRetentionPolicy Class

Definition

The blob service properties for soft delete.

public class DeleteRetentionPolicy
type DeleteRetentionPolicy = class
Public Class DeleteRetentionPolicy
Inheritance
DeleteRetentionPolicy

Constructors

DeleteRetentionPolicy()

Initializes a new instance of the DeleteRetentionPolicy class.

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

Initializes a new instance of the DeleteRetentionPolicy class.

Properties

Days

Gets or sets 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.

Enabled

Gets or sets indicates whether DeleteRetentionPolicy is enabled for the Blob service.

Methods

Validate()

Validate the object.

Applies to