Partilhar via


ListPolicySettings Members

Include Protected Members
Include Inherited Members

Manages location-based retention policy settings on a list and its subfolders.

The ListPolicySettings type exposes the following members.

Constructors

  Name Description
Public method ListPolicySettings Initializes a new instance of a ListPolicySettings object based on the target SPList object.

Top

Properties

  Name Description
Public property ListHasPolicy Gets whether the list has a location-based retention policy anywhere in its hierarchy.
Public property UseListPolicy Gets or sets whether the list should follow location-based policy.

Top

Methods

  Name Description
Public method Equals (Inherited from Object.)
Protected method Finalize (Inherited from Object.)
Public method FolderHasUniquePolicy Determines whether the folder has a retention schedule specified.
Public method GetHashCode (Inherited from Object.)
Public method GetRetentionSchedule Gets the unique retention schedule based on the target folder URL.
Public method GetType (Inherited from Object.)
Public method GetUniquePolicyParentUrl Finds the unique parent folder with a policy above the specified folder.
Protected method MemberwiseClone (Inherited from Object.)
Public method RemoveRetentionSchedule() Removes retention schedule for the list's root folder.
Public method RemoveRetentionSchedule(String) Removes the retention schedule for a specified folder.
Public method SetRetentionSchedule(String, String) Sets the retention schedule for the information policy based on the retention XML file name and description provided.
Public method SetRetentionSchedule(String, String, String) Sets the retention schedule for the root folder only of the information policy based on the folder URL, retention XML file name, and description provided.
Public method SetRetentionScheduleInherit Sets the specified folder to have an inherited schedule.
Public method SetRetentionScheduleNone Sets the list's root folder or a specified folder to have the schedule set to None.
Public method ToString (Inherited from Object.)
Public method Update Updates changes to the location-based policies settings on the list.

Top

See Also

Reference

ListPolicySettings Class

Microsoft.Office.RecordsManagement.InformationPolicy Namespace