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

ISAWHAppObject::SetPromptLeaveOrReplaceModifiedFile

Description

Sets the handling option when you attempt to retrieve a file form server and a writable file copy already exits in the local disk.

Syntax

long SetPromptLeaveOrReplaceModifiedFile(
       Enum_ModifiedFileHandling ModifiedFileHandling,
       VARIANT_BOOL IsApplyToAllItems
);

Parameters

ModifiedFileHandling
[in] Specifies how to handle the local file copy, leaving the local file or replacing the local file with the version on server.

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