Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

Command-Line Exit Codes

The Team Foundation version control command-line utility tf provides exit codes that indicate the level of success for a command.

The following command-line exit codes are defined for tf.exe.

Exit Code

Definition

0

Success.

1

Partial success; this means at least something, or possibly everything, failed to succeed.

2

Unrecognized command.

100

Nothing succeeded.

Example

In order to check out two files, you might type the following command at the command-line:

tf checkout one.cs two.cs

If one of the files you are trying to check out does not exist on the server, you are returned 1 for partial success.

Was this page helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

Show:
© 2014 Microsoft