Метод 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. |