DeleteFilesFromFolderUnconditional Method
Deletes multiple files unconditionally.
Required Permissions
FileDeleteUnconditionalSyntax
public override void DeleteFilesFromFolderUnconditional(
System.long[] fileMasterIds,
System.long folderId
)Public Overrides NotOverridable Sub DeleteFilesFromFolderUnconditional( _
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
The method will delete a file even if there are delete restrictions on that file. This method will fail if there are delete restrictions and the user is not logged in as an administrator. 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.