Partager via


IBuildServer.CreateBuildQueueSpec Method (String, String)

Creates a new build queue specification that can be used to query queued builds.

Namespace:  Microsoft.TeamFoundation.Build.Client
Assembly:  Microsoft.TeamFoundation.Build.Client (in Microsoft.TeamFoundation.Build.Client.dll)

Syntax

'Déclaration
Function CreateBuildQueueSpec ( _
    teamProject As String, _
    definitionName As String _
) As IQueuedBuildSpec
IQueuedBuildSpec CreateBuildQueueSpec(
    string teamProject,
    string definitionName
)
IQueuedBuildSpec^ CreateBuildQueueSpec(
    String^ teamProject, 
    String^ definitionName
)
abstract CreateBuildQueueSpec : 
        teamProject:string * 
        definitionName:string -> IQueuedBuildSpec 
function CreateBuildQueueSpec(
    teamProject : String, 
    definitionName : String
) : IQueuedBuildSpec

Parameters

  • teamProject
    Type: System.String
    The team project for which queued builds can be queried.
  • definitionName
    Type: System.String
    The definition name to query. Supports wildcards.

Return Value

Type: Microsoft.TeamFoundation.Build.Client.IQueuedBuildSpec
The new build queue specification.

.NET Framework Security

See Also

Reference

IBuildServer Interface

CreateBuildQueueSpec Overload

Microsoft.TeamFoundation.Build.Client Namespace