Share via


SPRoleDefinitionBindingCollection.RemoveAll Method

Removes all role definitions from the binding collection.

Namespace:  Microsoft.SharePoint
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Available in Sandboxed Solutions: Yes
Available in SharePoint Online

Syntax

'Declaration
<ClientCallableMethodAttribute(ClientMethodEndCodeSnippet := "OnRemoveAll();")> _
Public Sub RemoveAll
'Usage
Dim instance As SPRoleDefinitionBindingCollection

instance.RemoveAll()
[ClientCallableMethodAttribute(ClientMethodEndCodeSnippet = "OnRemoveAll();")]
public void RemoveAll()

See Also

Reference

SPRoleDefinitionBindingCollection Class

SPRoleDefinitionBindingCollection Members

Microsoft.SharePoint Namespace