Autodesk Vault ProfessionalVault API

DownloadPackagePart Method

Autodesk.Connectivity.WebServicesPackageService

Downloads a package from the server that was created by ExportToPackage

Required Permissions

ERPExport

Syntax

public System.byte[] DownloadPackagePart(
   System.string name,
   System.long firstByte,
   System.long lastByte
)
Public Function DownloadPackagePart( _
   ByVal name As System.String, _
   ByVal firstByte As System.Long, _
   ByVal lastByte As System.Long _
) As System.Byte()

Parameters

NameDescription
namethe name of the package to download
firstBytethe first byte to download. a value of 0 indicates the first byte in the file
lastBytethe last byte to download

Return Value

The binary contents of the file part

See Also