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
)

参数

另请参阅

引用

SPPolicy.SPPolicyRoleBindingCollection 类

SPPolicy.SPPolicyRoleBindingCollection 成员

Microsoft.SharePoint.Administration 命名空间