DeleteFileVersionsUnconditional Method
Deletes specific versions of a file.
Required Permissions
FileDeleteUnconditionalSyntax
public FileDelStatus[] DeleteFileVersionsUnconditional(
System.long[] fileIds
)Public Function DeleteFileVersionsUnconditional( _
ByVal fileIds() As System.Long _
) As FileDelStatus()Parameters
| Name | Description |
|---|---|
| fileIds | An 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.