File.UndoCheckOut - Méthode
Reverts an existing checkout for the file.
Espace de noms : Microsoft.SharePoint.Client
Assemblys : Microsoft.SharePoint.Client.Silverlight (dans Microsoft.SharePoint.Client.Silverlight.dll); Microsoft.SharePoint.Client.Phone (dans Microsoft.SharePoint.Client.Phone.dll) Microsoft.SharePoint.Client (dans Microsoft.SharePoint.Client.dll)
Syntaxe
'Déclaration
Public Sub UndoCheckOut
'Utilisation
Dim instance As File
instance.UndoCheckOut()
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. |