Поделиться через


Метод RoleDefinition.Update

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

Пространство имен:  Microsoft.SharePoint.Client
Сборки:   Microsoft.SharePoint.Client.Silverlight (в Microsoft.SharePoint.Client.Silverlight.dll);  Microsoft.SharePoint.Client.Phone (в Microsoft.SharePoint.Client.Phone.dll)  Microsoft.SharePoint.Client (в Microsoft.SharePoint.Client.dll)

Синтаксис

'Декларация
Public Sub Update
'Применение
Dim instance As RoleDefinition

instance.Update()
public void Update()

Исключения

Исключение Условие
[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.

См. также

Справочные материалы

RoleDefinition класс

Элементы RoleDefinition

Пространство имен Microsoft.SharePoint.Client