IBuildServer.CreateBuildAgentSpec Method
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)
Syntax
'Declaration
Function CreateBuildAgentSpec As IBuildAgentSpec
IBuildAgentSpec CreateBuildAgentSpec()
IBuildAgentSpec^ CreateBuildAgentSpec()
abstract CreateBuildAgentSpec : unit -> IBuildAgentSpec
function CreateBuildAgentSpec() : IBuildAgentSpec
Return Value
Type: Microsoft.TeamFoundation.Build.Client.IBuildAgentSpec
The new build agent specification.
.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.