次の方法で共有


RecycleBinItem.Restore メソッド

Restores the Recycle Bin item to its original location.

名前空間:  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 Restore
'使用
Dim instance As RecycleBinItem

instance.Restore()
public void Restore()

例外

例外 条件
[Microsoft.SharePoint.SPException]

Another file or folder with the same name already exists in the original location. Error code: -2147024816.

[Microsoft.SharePoint.SPException]

Another list with the same name already exists in the original location. Error code: -2147024713.

[Microsoft.SharePoint.SPException]

Recycle Bin item is the child of a list, list item, or document that does not exist. Error code: -2147022917.

[Microsoft.SharePoint.SPException]

Recycle Bin item contains duplicate field values for a field where Field.AllowDuplicateValues is FALSE. Error code: -2130575168.

[Microsoft.SharePoint.SPException]

Recycle Bin item has one or more lookup field values that do not exist in the data source that is the target of the lookup field. Error code: -2130575156.

[Microsoft.SharePoint.SPQueryThrottledException]

Throttling limit is exceeded by the operation. Error code: -2147024860.

[System.ArgumentException]

Recycle Bin item does not exist. Error code: -2147024809.

[System.UnauthorizedAccessException]

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

関連項目

参照先

RecycleBinItem クラス

RecycleBinItem メンバー

Microsoft.SharePoint.Client 名前空間