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
)
參數
policyRole
Type: Microsoft.SharePoint.Administration.SPPolicyRoleSPPolicyRole物件,代表要新增至集合中的原則角色。
請參閱
參照
SPPolicy.SPPolicyRoleBindingCollection class