SPPolicyRoleCollection.DeleteById Method
Deletes the policy role with the specified ID.
Namespace: Microsoft.SharePoint.Administration
Assembly: Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Available in Sandboxed Solutions: No
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.GuidA System.Guid that specifies the GUID of the policy role.