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
policyRole
Type: Microsoft.SharePoint.Administration.SPPolicyRoleAn SPPolicyRole object that represents the policy role to add to the collection.
See Also
Reference
SPPolicy.SPPolicyRoleBindingCollection Class