Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
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.