AdministrationWebService4.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
Assembly: Microsoft.TeamFoundation.Build.Server (in Microsoft.TeamFoundation.Build.Server.dll)
Syntax
'Declaration
<WebMethodAttribute> _
Public Function AddBuildControllers ( _
controllers As List(Of BuildController) _
) As List(Of BuildController)
[WebMethodAttribute]
public List<BuildController> AddBuildControllers(
List<BuildController> controllers
)
[WebMethodAttribute]
public:
List<BuildController^>^ AddBuildControllers(
List<BuildController^>^ controllers
)
[<WebMethodAttribute>]
member AddBuildControllers :
controllers:List<BuildController> -> List<BuildController>
public function AddBuildControllers(
controllers : List<BuildController>
) : List<BuildController>
Parameters
- controllers
Type: System.Collections.Generic.List<BuildController>
Return Value
Type: System.Collections.Generic.List<BuildController>
The list of build controllers added to the system.
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.