Allows you to delete several files and folders from the vault at once.
NOTE: Click the Members link, located near the top of the topic, to see this interface's methods and properties.| Visual Basic | |
|---|---|
Public Interface IEdmBatchDelete | |
| C# | |
|---|---|
public interface IEdmBatchDelete | |
| C++/CLI | |
|---|---|
public interface class IEdmBatchDelete | |
This interface:
- inherits from IDispatch. See IDispatch Interface (Automation).
- is extended by IEdmBatchDelete2.
To delete several files and folders from the vault at once:
- Access this interface by calling IEdmVault7::CreateUtility, passing EdmUtility.EdmUtil_BatchDelete as a parameter.
- Call IEdmBatchDelete::AddFileByID, IEdmBatchDelete::AddFileByPath, or IEdmBatchDelete::AddFolder one or more times to add files and folders to the batch for deletion.
- Call IEdmBatchDelete::ComputePermissions to prepare the delete operation.
- Optionally call IEdmBatchDelete2::ShowWarningDlg2 to display a message about any errors found in step 3.
- Call IEdmBatchDelete::CommitDelete to delete the files and folders added to the batch.
- Optionally call IEdmBatchDelete::ShowCommitErrorsDlg or IEdmBatchDelete3::GetCommitErrors to get any errors that might have occurred in step 5.
Using IEdmBatchDelete is more efficient than calling IEdmFolder5::DeleteFile or IEdmFolder5::DeleteFolder multiple times.