次の方法で共有


IBuildServer.CreateBuildAgentSpec Method (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

'宣言
<ObsoleteAttribute("This method has been deprecated. Please remove all references.",  _
    True)> _
Function CreateBuildAgentSpec ( _
    teamProject As String _
) As IBuildAgentSpec
[ObsoleteAttribute("This method has been deprecated. Please remove all references.", 
    true)]
IBuildAgentSpec CreateBuildAgentSpec(
    string teamProject
)
[ObsoleteAttribute(L"This method has been deprecated. Please remove all references.", 
    true)]
IBuildAgentSpec^ CreateBuildAgentSpec(
    String^ teamProject
)
[<ObsoleteAttribute("This method has been deprecated. Please remove all references.", 
    true)>]
abstract CreateBuildAgentSpec : 
        teamProject:string -> IBuildAgentSpec 
function CreateBuildAgentSpec(
    teamProject : String
) : IBuildAgentSpec

Parameters

  • teamProject
    Type: System.String
    The team project for which agents can be queried.

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