Use the GetExtensibilityService API to get this service from the Builds page in Team Explorer.
Namespace:  Microsoft.TeamFoundation.Build.Controls.Extensibility
Assembly:  Microsoft.TeamFoundation.Build.Controls (in Microsoft.TeamFoundation.Build.Controls.dll)
Syntax
'Declaration
Public Interface IBuildsPageExt _
    Inherits INotifyPropertyChanged
public interface IBuildsPageExt : INotifyPropertyChanged
public interface class IBuildsPageExt : INotifyPropertyChanged
type IBuildsPageExt =  
    interface 
        interface INotifyPropertyChanged 
    end
public interface IBuildsPageExt extends INotifyPropertyChanged
The IBuildsPageExt type exposes the following members.
Properties
| Name | Description | |
|---|---|---|
| .gif) | Builds | This is an array of the builds that are currently being displayed in the My Builds section on the Builds page. | 
| .gif) | Definitions | This is an array of the definitions that are in the All Definitions section on the Builds page. | 
| .gif) | FavoriteDefinitions | This is an array of the definitions that are in the Favorite Definitions section on the Builds page. | 
| .gif) | SelectedBuilds | This is an array of the builds that are currently selected in the My Builds section on the Builds page. | 
| .gif) | SelectedDefinitions | This is an array of the definitions that are currently selected in the All Definitions section on the Builds page. | 
| .gif) | SelectedFavoriteDefinitions | This is an array of the definitions that are currently selected in the Favorite Definitions section on the Builds page. | 
Top
Events
| Name | Description | |
|---|---|---|
| .gif) | PropertyChanged | Occurs when a property value changes. (Inherited from INotifyPropertyChanged.) | 
Top
See Also
Reference
Microsoft.TeamFoundation.Build.Controls.Extensibility Namespace