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.

另请参阅

引用

RoleAssignment 类

RoleAssignment 成员

Microsoft.SharePoint.Client 命名空间