Поделиться через


Метод SPListItem.BreakRoleInheritance (Microsoft.SharePoint)

Creates unique role assignments for the item rather than inheriting them from a parent.

Пространство имен: Microsoft.SharePoint
Сборка: Microsoft.SharePoint (в microsoft.sharepoint.dll)

Синтаксис

'Декларация
Public Sub BreakRoleInheritance ( _
    CopyRoleAssignments As Boolean _
)
'Применение
Dim instance As SPListItem
Dim CopyRoleAssignments As Boolean

instance.BreakRoleInheritance(CopyRoleAssignments)
public void BreakRoleInheritance (
    bool CopyRoleAssignments
)

Параметры

  • CopyRoleAssignments
    true to break role inheritance but to copy the role assignments; otherwise, false.

См. также

Ссылка

Класс SPListItem
Члены SPListItem
Пространство имен Microsoft.SharePoint