This documentation is archived and is not being maintained.
IBuildServer.CreateBuildAgentSpec Method (String, String, List(String))
Visual Studio 2013
Creates a new build agent specification that can be used to query build agents.
Namespace: Microsoft.TeamFoundation.Build.Client
Assembly: Microsoft.TeamFoundation.Build.Client (in Microsoft.TeamFoundation.Build.Client.dll)
abstract CreateBuildAgentSpec : name:string * computer:string * tags:List<string> -> IBuildAgentSpec
Parameters
- name
- Type: System.String
The agent name to query. Supports wildcard characters.
- computer
- Type: System.String
The computer to query. Null or empty means "do not care".
- tags
- Type: System.Collections.Generic.List(String)
The tags to query. Null or empty means "do not care".
Return Value
Type: Microsoft.TeamFoundation.Build.Client.IBuildAgentSpecThe new build agent specification.
- 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.
Show: