TeamFoundationBuildResourceService.AddBuildAgents Method
Namespace: Microsoft.TeamFoundation.Build.Server
Assembly: Microsoft.TeamFoundation.Build.Server (in Microsoft.TeamFoundation.Build.Server.dll)
Syntax
'Dichiarazione
Public Function AddBuildAgents ( _
requestContext As TeamFoundationRequestContext, _
agents As IList(Of BuildAgent) _
) As List(Of BuildAgent)
public List<BuildAgent> AddBuildAgents(
TeamFoundationRequestContext requestContext,
IList<BuildAgent> agents
)
public:
List<BuildAgent^>^ AddBuildAgents(
TeamFoundationRequestContext^ requestContext,
IList<BuildAgent^>^ agents
)
member AddBuildAgents :
requestContext:TeamFoundationRequestContext *
agents:IList<BuildAgent> -> List<BuildAgent>
public function AddBuildAgents(
requestContext : TeamFoundationRequestContext,
agents : IList<BuildAgent>
) : List<BuildAgent>
Parameters
- requestContext
Type: Microsoft.TeamFoundation.Framework.Server.TeamFoundationRequestContext
- agents
Type: System.Collections.Generic.IList<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.