다음을 통해 공유


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