AdministrationWebService.AddBuildControllers Method

Adds build controllers with the specified parameters to the system. Only one build controller can be associated with a service host at a time. An attempt to define more than one build controller on a service host causes an exception.

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

Syntax

'Declaration
<WebMethodAttribute> _
Public Function AddBuildControllers ( _
    controllers As List(Of BuildController2010) _
) As List(Of BuildController2010)
[WebMethodAttribute]
public List<BuildController2010> AddBuildControllers(
    List<BuildController2010> controllers
)
[WebMethodAttribute]
public:
List<BuildController2010^>^ AddBuildControllers(
    List<BuildController2010^>^ controllers
)
[<WebMethodAttribute>]
member AddBuildControllers : 
        controllers:List<BuildController2010> -> List<BuildController2010> 
public function AddBuildControllers(
    controllers : List<BuildController2010>
) : List<BuildController2010>

Parameters

Return Value

Type: System.Collections.Generic.List<BuildController2010>
The list of build controllers added to the system.

.NET Framework Security

See Also

Reference

AdministrationWebService Class

Microsoft.TeamFoundation.Build.Server.Compatibility Namespace