次の方法で共有


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 名前空間