共用方式為


SPPolicy.SPPolicyRoleBindingCollection.Add Method

Adds the specified policy role to the binding collection.

Namespace:  Microsoft.SharePoint.Administration
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Available in Sandboxed Solutions: No

Syntax

'Declaration
Public Sub Add ( _
    policyRole As SPPolicyRole _
)
'Usage
Dim instance As SPPolicy.SPPolicyRoleBindingCollection
Dim policyRole As SPPolicyRole

instance.Add(policyRole)
public void Add(
    SPPolicyRole policyRole
)

Parameters

See Also

Reference

SPPolicy.SPPolicyRoleBindingCollection Class

SPPolicy.SPPolicyRoleBindingCollection Members

Microsoft.SharePoint.Administration Namespace