Dela via


IBuildServer.QueryBuildDefinitions Method (String, QueryOptions)

Gets the build definitions for the specified team project. The specified query options determine the amount of data that is retrieved in the query.

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

Syntax

'Declaration
Function QueryBuildDefinitions ( _
    teamProject As String, _
    options As QueryOptions _
) As IBuildDefinition()
IBuildDefinition[] QueryBuildDefinitions(
    string teamProject,
    QueryOptions options
)
array<IBuildDefinition^>^ QueryBuildDefinitions(
    String^ teamProject, 
    QueryOptions options
)
abstract QueryBuildDefinitions : 
        teamProject:string * 
        options:QueryOptions -> IBuildDefinition[] 
function QueryBuildDefinitions(
    teamProject : String, 
    options : QueryOptions
) : IBuildDefinition[]

Parameters

  • teamProject
    Type: System.String
    The team project for which build definitions are retrieved.

Return Value

Type: array<Microsoft.TeamFoundation.Build.Client.IBuildDefinition[]
The build definitions for the specified team project.

.NET Framework Security

See Also

Reference

IBuildServer Interface

QueryBuildDefinitions Overload

Microsoft.TeamFoundation.Build.Client Namespace