Share via


TeamFoundationBuildResourceService.AddBuildControllers Method

Adds build controllers to the server. Notifications are asynchronously sent to the physical service host regarding the addition of any build controllers.

Namespace:  Microsoft.TeamFoundation.Build.Server
Assembly:  Microsoft.TeamFoundation.Build.Server (in Microsoft.TeamFoundation.Build.Server.dll)

Syntax

'Declaration
Public Function AddBuildControllers ( _
    requestContext As TeamFoundationRequestContext, _
    controllers As IList(Of BuildController) _
) As List(Of BuildController)
public List<BuildController> AddBuildControllers(
    TeamFoundationRequestContext requestContext,
    IList<BuildController> controllers
)
public:
List<BuildController^>^ AddBuildControllers(
    TeamFoundationRequestContext^ requestContext, 
    IList<BuildController^>^ controllers
)
member AddBuildControllers : 
        requestContext:TeamFoundationRequestContext * 
        controllers:IList<BuildController> -> List<BuildController> 
public function AddBuildControllers(
    requestContext : TeamFoundationRequestContext, 
    controllers : IList<BuildController>
) : List<BuildController>

Parameters

Return Value

Type: System.Collections.Generic.List<BuildController>
A list of build controllers that were added.

.NET Framework Security

See Also

Reference

TeamFoundationBuildResourceService Class

Microsoft.TeamFoundation.Build.Server Namespace