ISecurableObject.BreakRoleInheritance 方法
请注意:此 API 现在已过时。
创建对象的唯一角色分配。
命名空间: Microsoft.SharePoint
程序集: Microsoft.SharePoint(位于 Microsoft.SharePoint.dll 中)
语法
声明
<ObsoleteAttribute("Use the SPSecurableObject class instead")> _
Sub BreakRoleInheritance ( _
copyRoleAssignments As Boolean _
)
用法
Dim instance As ISecurableObject
Dim copyRoleAssignments As Boolean
instance.BreakRoleInheritance(copyRoleAssignments)
[ObsoleteAttribute("Use the SPSecurableObject class instead")]
void BreakRoleInheritance(
bool copyRoleAssignments
)
参数
- copyRoleAssignments
类型:System.Boolean