BuildService.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 BuildAgent2008() _
) As List(Of BuildAgent2008)
[WebMethodAttribute]
public List<BuildAgent2008> AddBuildAgents(
BuildAgent2008[] agents
)
[WebMethodAttribute]
public:
List<BuildAgent2008^>^ AddBuildAgents(
array<BuildAgent2008^>^ agents
)
[<WebMethodAttribute>]
member AddBuildAgents :
agents:BuildAgent2008[] -> List<BuildAgent2008>
public function AddBuildAgents(
agents : BuildAgent2008[]
) : List<BuildAgent2008>
Parameters
- agents
Type: array<Microsoft.TeamFoundation.Build.Server.BuildAgent2008[]
Return Value
Type: System.Collections.Generic.List<BuildAgent2008>
.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.