Autodesk Vault ProfessionalVault API

DeleteFileFromFolderUnconditional Method

Autodesk.Connectivity.WebServicesDocumentService

Deletes a file unconditionally.

Required Permissions

FileDeleteUnconditional

Syntax

public override void DeleteFileFromFolderUnconditional(
   System.long fileMasterId,
   System.long folderId
)
Public Overrides NotOverridable Sub DeleteFileFromFolderUnconditional( _
   ByVal fileMasterId As System.Long, _
   ByVal folderId As System.Long _
) 

Parameters

NameDescription
fileMasterIdThe file to delete.
folderIdThe 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.

See Also