SAWVSDK::promptCheckinOrUndoUnchangedFile

Description

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.

Syntax

public void promptCheckinOrUndoUnchangedFile(
        BaseDataObject bdoIEnumCheckinUnchangedFileHandling,
        BaseDataObject bdoBApplyToAllItems,
        String strInfo
);

Parameters

bdoIEnumCheckinUnchangedFileHandling
Specifies how to handle the file, checking in or undoing checkout.

bdoBApplyToAllItems
Specifies whether to apply the handling option to all items.

strInfo
Returns the prompt information when you attempt to check in a unchanged file or undo the checkout.

Return Value

None.

Remarks

If bdoIEnumCheckinUnchangedFileHandling = AskUnchangedHandlingCanceled, the checkin operation will be canceled when the event calling this method is fired.

If bdoIEnumCheckinUnchangedFileHandling = AskCheckinUnchangedFile, a warning dialog will pop up asking how to handle the unchanged file when the event calling this method is fired.

If bdoIEnumCheckinUnchangedFileHandling = CheckinUnchangedFile, the unchanged file will be checked in when the event calling this method is fired.

If bdoIEnumCheckinUnchangedFileHandling = UndoCheckinUnchangedFile, the checkout of the unchanged file will be undone when the event calling this method is fired.

See Also