back to content

Visual SourceSafe (VSS) Remote Access Tool Recommended by Microsoft


SAWVSDK::promptRecoverOrPurgeDeletedCopy

Description

Sets the handling options when you attempt to add a file to a project and a deleted copy of the file already exists in the project.

Syntax

public void promptRecoverOrPurgeDeletedCopy(
        BaseDataObject bodIEnumAddFileDeletedCopyHandling,
        BaseDataObject bdoBApplyToAllItems,
        String strInfo
);

Parameters

bodIEnumAddDeletedCopyHandling
Specifies how to handle the deleted copy of the file on the server, recovering it or purging it.

bdoBApplyToAllItems
Specifies whether to apply the handling option to all items

strInfo
Returns
the prompt information when you attempt to add a file to a project in which a deleted copy of the file already exists.

Return Value

None.

Remarks

If bodIEnumAddFileDeletedCopyHandling = CancelAddFile, the add operation will be canceled when the event calling this method is fired.

If bodIEnumAddFileDeletedCopyHandling = AskAddDeletedCopy, a warning dialog will pop up asking how to handle the deleted copy of file when the event calling this method is fired.

If bodIEnumAddFileDeletedCopyHandling = RecoverDeletedCopy, the deleted copy of the file will be recovered when the event calling this method is fired.

If bodIEnumAddFileDeletedCopyHandling = PurgeDeletedCopy, the deleted copy of the file will be purge deleted when the event calling this method is fired.

See Also













SourceSafe (VSS) Remote/Web/Internet Access | Software Configuration Management | SCM Solution
Software Configuration Management Online | Source/Version Control Online | Version/Source Control Software
Copyright 2010 Dynamsoft Corporation. All Rights Reserved.