ISecurableObject.BreakRoleInheritance Method

NOTE: This API is now obsolete.

Creates unique role assignments for the object.

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

Syntax

'Declaration
<ObsoleteAttribute("Use the SPSecurableObject class instead")> _
Sub BreakRoleInheritance ( _
    copyRoleAssignments As Boolean _
)
'Usage
Dim instance As ISecurableObject
Dim copyRoleAssignments As Boolean

instance.BreakRoleInheritance(copyRoleAssignments)
[ObsoleteAttribute("Use the SPSecurableObject class instead")]
void BreakRoleInheritance(
    bool copyRoleAssignments
)

Parameters

See Also

Reference

ISecurableObject Interface

ISecurableObject Members

Microsoft.SharePoint Namespace