Метод RoleAssignment.DeleteObject
Removes the role assignment object from the parent role assignment collection.
Пространство имен: 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 DeleteObject
'Применение
Dim instance As RoleAssignment
instance.DeleteObject()
public void DeleteObject()
Исключения
Исключение | Условие |
---|---|
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. |