Creates unique role assignments for the item rather than inheriting them from a parent.
Namespace: Microsoft.SharePoint
Assembly: Microsoft.SharePoint (in microsoft.sharepoint.dll)

Syntax
Visual Basic (Declaration) |
Public Sub BreakRoleInheritance ( _
CopyRoleAssignments As Boolean _
)
|
|
Dim instance As SPListItem
Dim CopyRoleAssignments As Boolean
instance.BreakRoleInheritance(CopyRoleAssignments)
|
|
public void BreakRoleInheritance (
bool CopyRoleAssignments
)
|
Parameters
- CopyRoleAssignments
-
true to break role inheritance but to copy the role assignments; otherwise, false.

See Also