Autodesk Vault ProfessionalVault API

DeleteFileVersionsUnconditional Method

Autodesk.Connectivity.WebServicesDocumentService

Deletes specific versions of a file.

Required Permissions

FileDeleteUnconditional

Syntax

public FileDelStatus[] DeleteFileVersionsUnconditional(
   System.long[] fileIds
)
Public Function DeleteFileVersionsUnconditional( _
   ByVal fileIds() As System.Long _
) As FileDelStatus()

Parameters

NameDescription
fileIdsAn array of file IDs to delete.

Return Value

A report of which versions have been deleted and which versions have not.

Remarks

This function has less restrictions than DeleteFileVersions on which versions can be deleted. Labeled and locked versions can be deleted. Versions can be deleted if they are linked to another version. Versions cannot be deleted if they are linked to an Item. The most recent version cannot be deleted.

See Also