Поделиться через


IBuildServer.CreateBuildAgentSpec Method (String, String)

Note: This API is now obsolete.

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
<ObsoleteAttribute("This method has been deprecated. Please remove all references.",  _
    True)> _
Function CreateBuildAgentSpec ( _
    teamProject As String, _
    agentName As String _
) As IBuildAgentSpec
[ObsoleteAttribute("This method has been deprecated. Please remove all references.", 
    true)]
IBuildAgentSpec CreateBuildAgentSpec(
    string teamProject,
    string agentName
)
[ObsoleteAttribute(L"This method has been deprecated. Please remove all references.", 
    true)]
IBuildAgentSpec^ CreateBuildAgentSpec(
    String^ teamProject, 
    String^ agentName
)
[<ObsoleteAttribute("This method has been deprecated. Please remove all references.", 
    true)>]
abstract CreateBuildAgentSpec : 
        teamProject:string * 
        agentName:string -> IBuildAgentSpec 
function CreateBuildAgentSpec(
    teamProject : String, 
    agentName : String
) : IBuildAgentSpec

Parameters

  • teamProject
    Type: System.String
    The team project for which agents can be queried.
  • agentName
    Type: System.String
    The agent name to query. Wildcard characters are supported.

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