SAWVSDK::promptLeaveOrReplaceWritableFile
Sets the handling option when you attempt to check in a file or undo the checkout and the local copy of the file is changed.
public void promptLeaveOrReplaceWritableFile(
BaseDataObject
bodIEnumWritableFileHandling,
BaseDataObject
bdoBWritableHandlingApplyToAllItems,
String strInfo
);
Parameters
bodIEnumWritableFileHandling
Specifies how to handle the local copy of the file, leaving the
local file or replacing the local file with the version on server.
bdoBWritableHandlingApplyToAllItems
Specifies whether to apply the
handling option to all items
strInfo
Returns the prompt
information when you attempt to retrieve a file form server and a writable copy
of the file already exits in the local disk.
Return Value
None.
Remarks
If bodIEnumWritableFileHandling = AskWritableHandlingCanceled, the get or checkout operation will be canceled when the event calling this method is fired.
If bodIEnumWritableFileHandling = AskWritableFile, a warning dialog will pop up asking how to handle the local writable file when the event calling this method is fired.
If bodIEnumWritableFileHandling = ReplaceWritableFile, the local writable file will be replaced by the checkout file when the event calling this method is fired.
If bodIEnumWritableFileHandling = SkipWritableFile, the local writable file will be skipped when the event calling this method is fired.
If bodIEnumWritableFileHandling = MergeWritableFile, the local writable file and the checkout file will be merged when the event calling this method is fired.
See Also