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
Microsoft.Office.RecordsManagement.InformationPolicy namespace