SPPolicyRoleCollection.DeleteById method

Deletes the policy role with the specified ID.

Namespace:  Microsoft.SharePoint.Administration
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)

Syntax

'Declaration
Public Sub DeleteById ( _
    id As Guid _
)
'Usage
Dim instance As SPPolicyRoleCollection
Dim id As Guid

instance.DeleteById(id)
public void DeleteById(
    Guid id
)

Parameters

  • id
    Type: System.Guid

    A System.Guid that specifies the GUID of the policy role.

See also

Reference

SPPolicyRoleCollection class

SPPolicyRoleCollection members

Microsoft.SharePoint.Administration namespace