SPWebApplication.PolicyRoles 属性
获取 Web 应用程序定义的策略角色的集合。
命名空间: Microsoft.SharePoint.Administration
程序集: Microsoft.SharePoint(位于 Microsoft.SharePoint.dll 中)
语法
声明
Public ReadOnly Property PolicyRoles As SPPolicyRoleCollection
Get
用法
Dim instance As SPWebApplication
Dim value As SPPolicyRoleCollection
value = instance.PolicyRoles
public SPPolicyRoleCollection PolicyRoles { get; }
属性值
类型:Microsoft.SharePoint.Administration.SPPolicyRoleCollection
SPPolicyRoleCollection 对象,该对象表示的策略角色的集合。