Share via


SPPolicy.SPPolicyRoleBindingCollection.Add method

Adds the specified policy role to the binding collection.

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

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