ListPolicySettings Members
SharePoint 2010
Manages location-based retention policy settings on a list and its subfolders.
The ListPolicySettings type exposes the following members.
| Name | Description | |
|---|---|---|
|
ListPolicySettings | Initializes a new instance of a ListPolicySettings object based on the target SPList object. |
| Name | Description | |
|---|---|---|
|
ListHasPolicy | Gets whether the list has a location-based retention policy anywhere in its hierarchy. |
|
UseListPolicy | Gets or sets whether the list should follow location-based policy. |
| Name | Description | |
|---|---|---|
|
Equals | (Inherited from Object.) |
|
Finalize | (Inherited from Object.) |
|
FolderHasUniquePolicy | Determines whether the folder has a retention schedule specified. |
|
GetHashCode | (Inherited from Object.) |
|
GetRetentionSchedule | Gets the unique retention schedule based on the target folder URL. |
|
GetType | (Inherited from Object.) |
|
GetUniquePolicyParentUrl | Finds the unique parent folder with a policy above the specified folder. |
|
MemberwiseClone | (Inherited from Object.) |
|
RemoveRetentionSchedule() | Removes retention schedule for the list's root folder. |
|
RemoveRetentionSchedule(String) | Removes the retention schedule for a specified folder. |
|
SetRetentionSchedule(String, String) | Sets the retention schedule for the information policy based on the retention XML file name and description provided. |
|
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. |
|
SetRetentionScheduleInherit | Sets the specified folder to have an inherited schedule. |
|
SetRetentionScheduleNone | Sets the list's root folder or a specified folder to have the schedule set to None. |
|
ToString | (Inherited from Object.) |
|
Update | Updates changes to the location-based policies settings on the list. |