SPPolicy.SPPolicyRoleBindingCollection.AddById Method
Adds the policy role with the specified GUID to the binding collection.
Namespace: Microsoft.SharePoint.Administration
Assembly: Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Available in Sandboxed Solutions: No
Syntax
'Declaration
Public Sub AddById ( _
id As Guid _
)
'Usage
Dim instance As SPPolicy.SPPolicyRoleBindingCollection
Dim id As Guid
instance.AddById(id)
public void AddById(
Guid id
)
Parameters
id
Type: System.GuidA System.Guid object that specifies the policy role to add to the collection.
See Also
Reference
SPPolicy.SPPolicyRoleBindingCollection Class