Partager via


RoleAssignment.DeleteObject - Méthode

Removes the role assignment object from the parent role assignment collection.

Espace de noms :  Microsoft.SharePoint.Client
Assemblys :   Microsoft.SharePoint.Client.Silverlight (dans Microsoft.SharePoint.Client.Silverlight.dll);  Microsoft.SharePoint.Client.Phone (dans Microsoft.SharePoint.Client.Phone.dll)  Microsoft.SharePoint.Client (dans Microsoft.SharePoint.Client.dll)

Syntaxe

'Déclaration
Public Sub DeleteObject
'Utilisation
Dim instance As RoleAssignment

instance.DeleteObject()
public void DeleteObject()

Exceptions

Exception Condition
InvalidOperationException

The parent securable object does not have unique permissions. Error code: -1.

UnauthorizedAccessException

The current user does not have sufficient permissions to manage permissions on the parent securable object. Error code: -2147024891.

Voir aussi

Référence

RoleAssignment classe

RoleAssignment - Membres

Microsoft.SharePoint.Client - Espace de noms