Partilhar via


ListPolicySettings.FolderHasUniquePolicy Method

Determines whether the folder has a retention schedule specified.

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

Syntax

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

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

Parameters

  • folderUrl
    Type: System.String

    The server-relative url of the folder, a null reference (Nothing in Visual Basic) for the root folder.

Return Value

Type: System.Boolean
Returns Boolean.

Remarks

An implicit inherited schedule will return false.

See Also

Reference

ListPolicySettings Class

ListPolicySettings Members

Microsoft.Office.RecordsManagement.InformationPolicy Namespace