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