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

See Also

Reference

IBuildServer Interface

CreateBuildAgentSpec Overload

Microsoft.TeamFoundation.Build.Client Namespace