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