SPPolicy.SPPolicyRoleBindingCollection.Item 属性 (SPPolicyRole)
获取指定的策略角色策略角色。
命名空间: Microsoft.SharePoint.Administration
程序集: Microsoft.SharePoint(位于 Microsoft.SharePoint.dll 中)
语法
声明
Public ReadOnly Default Property Item ( _
policyRole As SPPolicyRole _
) As SPPolicyRole
Get
用法
Dim instance As SPPolicy.SPPolicyRoleBindingCollection
Dim policyRole As SPPolicyRole
Dim value As SPPolicyRole
value = instance(policyRole)
public SPPolicyRole this[
SPPolicyRole policyRole
] { get; }
参数
policyRole
类型:Microsoft.SharePoint.Administration.SPPolicyRole一个SPPolicyRole对象,表示要为其获取策略角色的策略角色。
属性值
类型:Microsoft.SharePoint.Administration.SPPolicyRole
SPPolicyRole 对象,该对象表示策略角色。
备注
如果policyRole参数为空,则将引发ArgumentNullException 。
另请参阅
引用
SPPolicy.SPPolicyRoleBindingCollection 类