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
- controllers
Type: System.Collections.Generic.List<BuildController2010>
Return Value
Type: System.Collections.Generic.List<BuildController2010>
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.
See Also
Reference
AdministrationWebService Class
Microsoft.TeamFoundation.Build.Server.Compatibility Namespace