Condividi tramite


SP.File.undoCheckOut() Method

Applies to: SharePoint Foundation 2010

Reverts an existing checkout for the file.

SP.File.undoCheckOut();

Applies To

SP.File Class

Exceptions

  • [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

SP.File Methods

SP.File Properties

SP Namespace