TFS API Index Parts 1 To 37

18/05/2011

Since 2009 I ‘m writing about TFS API and several people asked to get an index page with all parts related to TFS API, so here is it:

Basic

Source Control

Testing

Work Items – Definitions and Queries

Areas and Iterations

Builds

Add comment
facebook linkedin twitter email

Leave a Reply

2 comments

  1. Raghuraman K07/06/2011 ב 08:54

    Hi Shai Raiten,

    Need your help.

    I am trying to create a label programmatically. However there is no error, but the label is not created.

    VersionControlLabel versionControlLabel = new VersionControlLabel(versionControl, “Label by build utility”, “Administrator”,””, “Comments marked build utility”);

    ItemSpec itemSpec = new ItemSpec(@”$/INT_TST1/ORT1″, RecursionType.Full);

    LabelItemSpec[] labelItemSpec = new LabelItemSpec[1];

    labelItemSpec[0] = new LabelItemSpec(itemSpec, VersionSpec.Latest, false);

    LabelResult[] lb = versionControl.CreateLabel(versionControlLabel, labelItemSpec, LabelChildOption.Fail);

    regards