Autodesk Vault ProfessionalVault API

GetFileVersionDeleteRestrictionsByFileIds Method

Autodesk.Connectivity.WebServicesDocumentService

Gets any restrictions on deleting a specific versions of Files. This function can be used to pre-check any issues before running DeleteFileVersions.

Required Permissions

PurgeFiles

Syntax

public FileDelRestricEx[] GetFileVersionDeleteRestrictionsByFileIds(
   System.long[] fileIds
)
Public Function GetFileVersionDeleteRestrictionsByFileIds( _
   ByVal fileIds() As System.Long _
) As FileDelRestricEx()

Parameters

NameDescription
fileIdsAn array of File IDs.

Return Value

An array of restrictions for this operation. Null will be returned if there are no restrictions.

See Also