Compartilhar via


SecurableObject.ResetRoleInheritance Method

Resets the role inheritance for the securable object and inherits role assignments from the parent securable object.

Namespace:  Microsoft.SharePoint.Client
Assemblies:   Microsoft.SharePoint.Client.Silverlight (in Microsoft.SharePoint.Client.Silverlight.dll);  Microsoft.SharePoint.Client (in Microsoft.SharePoint.Client.dll)

Syntax

'Declaration
<RemoteAttribute> _
Public Overridable Sub ResetRoleInheritance
'Usage
Dim instance As SecurableObject

instance.ResetRoleInheritance()
[RemoteAttribute]
public virtual void ResetRoleInheritance()

Exceptions

Exception Condition
[System.InvalidOperationException]

There are uncommitted changes for the site. Error code: -1.

See Also

Reference

SecurableObject Class

SecurableObject Members

Microsoft.SharePoint.Client Namespace