SPPolicyRoleCollection.Delete Method (String)
Deletes the policy role with the specified name.
Namespace: Microsoft.SharePoint.Administration
Assembly: Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Available in Sandboxed Solutions: No
Syntax
'Declaration
Public Sub Delete ( _
name As String _
)
'Usage
Dim instance As SPPolicyRoleCollection
Dim name As String
instance.Delete(name)
public void Delete(
string name
)
Parameters
name
Type: System.StringA string that contains the name of the policy role to delete.
Remarks
When a policy role is deleted, all policy bindings for that definition are also deleted.