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
'Declaração
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
- 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.
.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.