共用方式為


ShareRetentionPolicy Class

Definition

The retention policy.

public class ShareRetentionPolicy
type ShareRetentionPolicy = class
Public Class ShareRetentionPolicy
Inheritance
ShareRetentionPolicy

Constructors

ShareRetentionPolicy()

Creates a new ShareRetentionPolicy instance.

Properties

Days

Indicates the number of days that metrics data should be retained. All data older than this value will be deleted. Metrics data is deleted on a best-effort basis after the retention period expires.

Enabled

Indicates whether a retention policy is enabled for the File service. If false, metrics data is retained, and the user is responsible for deleting it.

Applies to