共用方式為


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

Return Value

Type: System.Collections.Generic.List<BuildAgent2008>

.NET Framework Security

See Also

Reference

BuildService Class

Microsoft.TeamFoundation.Build.Server Namespace