Retention Policy Class
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.
The retention policy.
public class ShareRetentionPolicy
type ShareRetentionPolicy = class
Public Class ShareRetentionPolicy
Creates a new ShareRetentionPolicy instance.
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.
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.