ListPolicySettings.RemoveRetentionSchedule method (String)

Removes the retention schedule for a specified folder.

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

Syntax

'Declaration
Public Function RemoveRetentionSchedule ( _
    folderUrl As String _
) As Boolean
'Usage
Dim instance As ListPolicySettings
Dim folderUrl As String
Dim returnValue As Boolean

returnValue = instance.RemoveRetentionSchedule(folderUrl)
public bool RemoveRetentionSchedule(
    string folderUrl
)

Parameters

  • folderUrl
    Type: System.String

    The server-relative URL of the folder.

Return value

Type: System.Boolean
Returns true if a schedule is removed; otherwise, false.

See also

Reference

ListPolicySettings class

ListPolicySettings members

RemoveRetentionSchedule overload

Microsoft.Office.RecordsManagement.InformationPolicy namespace