共用方式為


ISecurableObject.BreakRoleInheritance method

NOTE: This API is now obsolete.

建立物件的唯一的角色指派。

Namespace:  Microsoft.SharePoint
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)

Syntax

'宣告
<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
)

參數

請參閱

參照

ISecurableObject interface

ISecurableObject members

Microsoft.SharePoint namespace