Anteckning
Åtkomst till den här sidan kräver auktorisering. Du kan prova att logga in eller ändra kataloger.
Åtkomst till den här sidan kräver auktorisering. Du kan prova att ändra kataloger.
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
agent
Type: Microsoft.TeamFoundation.Build.Client.IBuildAgentThe 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.