DeleteFilesFromFolder Method
Deletes multiple files.
Required Permissions
FileDeleteConditionalSyntax
public override void DeleteFilesFromFolder(
System.long[] fileMasterIds,
System.long folderId
)Public Overrides NotOverridable Sub DeleteFilesFromFolder( _
ByVal fileMasterIds() As System.Long, _
ByVal folderId As System.Long _
) Parameters
| Name | Description |
|---|---|
| fileMasterIds | An array of files to delete. |
| folderId | The folder to delete from. |
Return Value
Nothing.
Remarks
This method will fail if there are delete restrictions on any of the files. This method deletes the files one at a time from the Vault. If one of the deletes fails, the operation will abort. Depending on when the error is thrown, some files may be deleted while others may still be in the Vault.