SPPolicy.SPPolicyRoleBindingCollection.Add 方法
将指定的策略角色添加到绑定集合。
命名空间: Microsoft.SharePoint.Administration
程序集: Microsoft.SharePoint(位于 Microsoft.SharePoint.dll 中)
语法
声明
Public Sub Add ( _
policyRole As SPPolicyRole _
)
用法
Dim instance As SPPolicy.SPPolicyRoleBindingCollection
Dim policyRole As SPPolicyRole
instance.Add(policyRole)
public void Add(
SPPolicyRole policyRole
)
参数
policyRole
类型:Microsoft.SharePoint.Administration.SPPolicyRoleSPPolicyRole对象,该对象表示要添加到集合的策略角色。
另请参阅
引用
SPPolicy.SPPolicyRoleBindingCollection 类