SPPolicyRoleCollection.Delete method (String)
Deletes the policy role with the specified name.
Namespace: Microsoft.SharePoint.Administration
Assembly: Microsoft.SharePoint (in Microsoft.SharePoint.dll)
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.