Click to Rate and Give Feedback
MSDN
MSDN Library
Visual Studio 2005
Team Foundation
 Command-Line Exit Codes

  Switch on low bandwidth view
This page is specific to
Microsoft Visual Studio 2005/.NET Framework 2.0

Other versions are also available for the following:
Visual Studio Team System
Command-Line Exit Codes

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

Exit Codes

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 foo.cs bar.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.

See Also

Tags What's this?: Add a tag
Community Content   What is Community Content?
Add new content RSS  Annotations
Processing
© 2009 Microsoft Corporation. All rights reserved. Terms of Use  |  Trademarks  |  Privacy Statement
Page view tracker