共用方式為


SPPolicy.SPPolicyRoleBindingCollection.Add method

會指定的原則角色新增至繫結集合。

Namespace:  Microsoft.SharePoint.Administration
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)

Syntax

'宣告
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 class

SPPolicy.SPPolicyRoleBindingCollection members

Microsoft.SharePoint.Administration namespace