次の方法で共有


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

'Declaration
Public ReadOnly Property PolicyRoles As SPPolicyRoleCollection
    Get
'Usage
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.

See also

Reference

SPWebApplication class

SPWebApplication members

Microsoft.SharePoint.Administration namespace