ListPolicySettings.SetRetentionScheduleInherit Method

Sets the specified folder to have an inherited schedule.

Namespace:  Microsoft.Office.RecordsManagement.InformationPolicy
Assembly:  Microsoft.Office.Policy (in Microsoft.Office.Policy.dll)

Syntax

'Declaration
Public Sub SetRetentionScheduleInherit ( _
    folder As String _
)
'Usage
Dim instance As ListPolicySettings
Dim folder As String

instance.SetRetentionScheduleInherit(folder)
public void SetRetentionScheduleInherit(
    string folder
)

Parameters

  • folder
    Type: System.String

    The server-relative URL of the folder.

Exceptions

Exception Condition
ArgumentException

When the folder is the root folder, you cannot set the root folder to have an inherited schedule.

Remarks

An inherited schedule is a schedule that has has the same schedule as its parent folder or root folder.

See Also

Reference

ListPolicySettings Class

ListPolicySettings Members

Microsoft.Office.RecordsManagement.InformationPolicy Namespace