Autodesk Vault ProfessionalVault API

UndoCheckoutFile(FileIteration,Stream) Method

Autodesk.DataManagement.Client.Framework.Vault.Services.ConnectionIFileManager

Undoes a checkout operation on a file.

Syntax

FileIteration UndoCheckoutFile(
   FileIteration file,
   System.IO.Stream outputStream
)
Overloads Function UndoCheckoutFile( _
   ByVal file As FileIteration, _
   Optional ByVal outputStream As System.IO.Stream _
) As FileIteration

Parameters

NameDescription
fileThe checked out file.
outputStreamA stream to output the binary contents of the last-check-in file version to. If set to null, no download will be performed.

Return Value

The file iteration representing the last-checked-in version of the file.

See Also