Autodesk Vault ProfessionalVault API

FileAcquisitionRestriction Constructor

Autodesk.DataManagement.Client.Framework.Vault.Currency.RestrictionsFileAcquisitionRestriction

Constructs an instance of the FileAcquisitionRestriction object

Syntax

public FileAcquisitionRestriction(
   FileIteration file,
   System.bool isCheckoutRestriction,
   FilePathAbsolute downloadPath,
   FileAcquisitionRestriction.RestrictionCode code,
   System.string reason
)
Public Function New( _
   ByVal file As FileIteration, _
   ByVal isCheckoutRestriction As System.Boolean, _
   ByVal downloadPath As FilePathAbsolute, _
   ByVal code As FileAcquisitionRestriction.RestrictionCode, _
   ByVal reason As System.String _
)

Parameters

NameDescription
fileThe file that this restriction applies to
isCheckoutRestrictionTrue if this restriction is related to checking out a file. Otherwise, it is assumed to be download related
downloadPathThe physical location on the file on disk
codeDescribes the type of restriction
reasonA human readable description of the reason for the failure.

See Also