다음을 통해 공유


ListPolicySettings.ListHasPolicy Property

Gets whether the list has a location-based retention policy anywhere in its hierarchy.

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

Syntax

'Declaration
Public ReadOnly Property ListHasPolicy As Boolean
    Get
'Usage
Dim instance As ListPolicySettings
Dim value As Boolean

value = instance.ListHasPolicy
public bool ListHasPolicy { get; }

Property Value

Type: System.Boolean
Returns Boolean. true if the target list has a policy; otherwise, false.

See Also

Reference

ListPolicySettings Class

ListPolicySettings Members

Microsoft.Office.RecordsManagement.InformationPolicy Namespace