AdministrationWebService.AddBuildAgents Method
Namespace: Microsoft.TeamFoundation.Build.Server
Assembly: Microsoft.TeamFoundation.Build.Server (in Microsoft.TeamFoundation.Build.Server.dll)
Syntax
'Декларация
<WebMethodAttribute> _
Public Function AddBuildAgents ( _
agents As List(Of BuildAgent) _
) As List(Of BuildAgent)
[WebMethodAttribute]
public List<BuildAgent> AddBuildAgents(
List<BuildAgent> agents
)
[WebMethodAttribute]
public:
List<BuildAgent^>^ AddBuildAgents(
List<BuildAgent^>^ agents
)
[<WebMethodAttribute>]
member AddBuildAgents :
agents:List<BuildAgent> -> List<BuildAgent>
public function AddBuildAgents(
agents : List<BuildAgent>
) : List<BuildAgent>
Parameters
- agents
Type: System.Collections.Generic.List<BuildAgent>
Return Value
Type: System.Collections.Generic.List<BuildAgent>
.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.