SPWebApplication.PolicyRoles Property
Gets the collection of policy roles that are defined for the Web application.
Namespace: Microsoft.SharePoint.Administration
Assembly: Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Syntax
Public ReadOnly Property PolicyRoles As SPPolicyRoleCollection
Get
Dim instance As SPWebApplication
Dim value As SPPolicyRoleCollection
value = instance.PolicyRoles
public SPPolicyRoleCollection PolicyRoles { get; }
Property Value
Type: Microsoft.SharePoint.Administration.SPPolicyRoleCollection
An SPPolicyRoleCollection object that represents the collection of policy roles.