IBuildServer.CreateBuildAgentSpec Method (IBuildAgent)

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 ( _
    agent As IBuildAgent _
) As IBuildAgentSpec
IBuildAgentSpec CreateBuildAgentSpec(
    IBuildAgent agent
)
IBuildAgentSpec^ CreateBuildAgentSpec(
    IBuildAgent^ agent
)
abstract CreateBuildAgentSpec : 
        agent:IBuildAgent -> IBuildAgentSpec
function CreateBuildAgentSpec(
    agent : IBuildAgent
) : IBuildAgentSpec

Parameters

Return Value

Type: Microsoft.TeamFoundation.Build.Client.IBuildAgentSpec
Returns the new build agent specification.

.NET Framework Security

See Also

Reference

IBuildServer Interface

CreateBuildAgentSpec Overload

Microsoft.TeamFoundation.Build.Client Namespace