Compartir a través de


File.UndoCheckOut Method

Reverts an existing checkout for the file.

Namespace:  Microsoft.SharePoint.Client
Assemblies:   Microsoft.SharePoint.Client.Silverlight (in Microsoft.SharePoint.Client.Silverlight.dll);  Microsoft.SharePoint.Client (in Microsoft.SharePoint.Client.dll)

Syntax

'Declaration
<RemoteAttribute> _
Public Sub UndoCheckOut
'Usage
Dim instance As File

instance.UndoCheckOut()
[RemoteAttribute]
public void UndoCheckOut()

Exceptions

Exception Condition
[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.

See Also

Reference

File Class

File Members

Microsoft.SharePoint.Client Namespace