Partager via


RoleDefinition.Update - Méthode

Updates the role definition with changes that have been made to its properties.

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 Update
'Utilisation
Dim instance As RoleDefinition

instance.Update()
public void Update()

Exceptions

Exception Condition
[Microsoft.SharePoint.SPException]

Specified role definition has conflicting properties with existing roles. Error code: -2130575293. Invalid role definition name, either empty or contains one or more invalid characters. Error code: -2130575281. Role definition is not unique to current site. Error code: -2130575253.

[System.ArgumentException]

Role definition is not part of a collection or site. Error code: -2147024809.

[System.InvalidOperationException]

Role definition is inherited from a parent site. Error code: -1.

[System.UnauthorizedAccessException]

The current user has insufficient permissions. Error code: -2147024891.

Voir aussi

Référence

RoleDefinition classe

RoleDefinition - Membres

Microsoft.SharePoint.Client - Espace de noms