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)

IBuildAgentSpec CreateBuildAgentSpec(
	IBuildAgent agent
)

Parameters

agent
Type: Microsoft.TeamFoundation.Build.Client.IBuildAgent

The agent for which a specification is created.

Return Value

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

Show: