Dela via


IBuildServer.CreateBuildAgent Method

Note: This API is now obsolete.

Creates a new build agent owned by the build server.

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

Parameters

  • teamProject
    Type: System.String
    The team project under which the build agent will be created.

Return Value

Type: Microsoft.TeamFoundation.Build.Client.IBuildAgent
The new build agent.

.NET Framework Security

See Also

Reference

IBuildServer Interface

Microsoft.TeamFoundation.Build.Client Namespace