共用方式為


File.UndoCheckOut 方法

回復檔案的現有簽出。

命名空間:  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 UndoCheckOut
'用途
Dim instance As File

instance.UndoCheckOut()
public void UndoCheckOut()

例外狀況

例外狀況 條件
[Microsoft.SharePoint.SPFileCheckOutException]

目前的使用者不取出檔案。錯誤碼 ︰-2147024738。

[System.UnauthorizedAccessException]

目前的使用者會有足夠的權限。錯誤碼 ︰-2147024891。

請參閱

參照

File 類別

File 成員

Microsoft.SharePoint.Client 命名空間