ListPolicySettings.SetRetentionScheduleNone Method
Sets the list's root folder or a specified folder to have the schedule set to None.
Namespace: Microsoft.Office.RecordsManagement.InformationPolicy
Assembly: Microsoft.Office.Policy (in Microsoft.Office.Policy.dll)
Syntax
'Declaration
Public Sub SetRetentionScheduleNone ( _
folder As String _
)
'Usage
Dim instance As ListPolicySettings
Dim folder As String
instance.SetRetentionScheduleNone(folder)
public void SetRetentionScheduleNone(
string folder
)
Parameters
folder
Type: System.StringThe server-relative URL of the folder or the root folder.
Remarks
When schedule is set to None, the contents in this folder do not follow location-based retention policy.
See Also
Reference
Microsoft.Office.RecordsManagement.InformationPolicy Namespace