CheckOut

The CheckOut command line interface enables you to perform Check out functions from command prompt or within a script.

The following command line syntax is used for Checking out versioned elements into Source Control Bank and import versioned elements from Source Control Bank.

  1. Use the Team Foundation Command line utility to check out the file(s)

    tf checkout [/lock:(none|checkin|checkout)] [/recursive]
  2. Type Import.exe to import the version file element(s) from an AB Suite Model file(s)

    Import.exe -m FooDev  -vf  NewSampleHB.model

    Note: The -vf parameter indicates the version files to import when using import.exe command.

where:

Parameter

Description

/recursive

Checks out all files that match the itemspec in the current directory and in all the subfolders of the current directory.

Refer to Checkout Command in Visual Studio Online Help for more information on parameters.

For example; to check out Sample model, use the following command:

tf checkout Sample/NewSampleHB.model