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)
Available in Sandboxed Solutions: No

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