online source control
back to content
sign up free version control plan

ISAWHAppObject::SetPromptUndoCheckoutChangedFile

Description

Sets the handling option when you attempt to undo check out a changed file.

Syntax

long SetPromptUndoCheckoutChangedFile(
  Enum_UndoCheckOutChangedFileHandling
UndoCheckOutChangedFileHandling,
  VARIANT_BOOL IsApplyToAllItems
);

Parameters

UndoCheckOutChangedFileHandling
[in] Specifies how to handle the file, undoing checkout or not.

IsApplyToAllItems
[in] Specifies whether to apply the handling option to all items.

Return Value

If the method succeeds, returns 0. If the method fails, returns other error codes.

See Also