Share via


IBuildServer.GetBuildDefinition Method (String, String, QueryOptions)

Gets a single build definition using the specified options to control the amount of data retrieved.

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

Syntax

'Declaration
Function GetBuildDefinition ( _
    teamProject As String, _
    name As String, _
    options As QueryOptions _
) As IBuildDefinition
IBuildDefinition GetBuildDefinition(
    string teamProject,
    string name,
    QueryOptions options
)
IBuildDefinition^ GetBuildDefinition(
    String^ teamProject, 
    String^ name, 
    QueryOptions options
)
abstract GetBuildDefinition : 
        teamProject:string * 
        name:string * 
        options:QueryOptions -> IBuildDefinition
function GetBuildDefinition(
    teamProject : String, 
    name : String, 
    options : QueryOptions
) : IBuildDefinition

Parameters

  • teamProject
    Type: System.String

    The team project that owns the build definition.

Return Value

Type: Microsoft.TeamFoundation.Build.Client.IBuildDefinition
The build definition with the specified name in the specified team project.

.NET Framework Security

See Also

Reference

IBuildServer Interface

GetBuildDefinition Overload

Microsoft.TeamFoundation.Build.Client Namespace