File.UndoCheckOut 方法
Reverts an existing checkout for the file.
命名空间: 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] | File is not checked out to the current user. Error code: -2147024738. |
[System.UnauthorizedAccessException] | The current user has insufficient permissions. Error code: -2147024891. |