Share via


SPPolicyCollection.Remove method (String)

Removes the user or group from the collection based on the specified user or group name.

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

Syntax

'Declaration
Public Sub Remove ( _
    name As String _
)
'Usage
Dim instance As SPPolicyCollection
Dim name As String

instance.Remove(name)
public void Remove(
    string name
)

Parameters

  • name
    Type: System.String

    A string that specifies the name of the user or group to remove from the collection, for example, "DOMAIN\user_alias".

See also

Reference

SPPolicyCollection class

SPPolicyCollection members

Remove overload

Microsoft.SharePoint.Administration namespace