SPPolicyRoleCollection.Delete method (Int32)
Deletes the policy role at the specified index in the collection.
Namespace: Microsoft.SharePoint.Administration
Assembly: Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Syntax
'Declaration
Public Sub Delete ( _
index As Integer _
)
'Usage
Dim instance As SPPolicyRoleCollection
Dim index As Integer
instance.Delete(index)
public void Delete(
int index
)
Parameters
index
Type: System.Int32A 32-bit integer that specifies the index of the policy role to delete.
Remarks
When a policy role is deleted, all policy bindings for that definition are also deleted.