Partilhar via


IBuildServer.GetBuildDefinition Method (String, String)

Gets a single build definition.

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

Syntax

'Declaração
Function GetBuildDefinition ( _
    teamProject As String, _
    name As String _
) As IBuildDefinition
IBuildDefinition GetBuildDefinition(
    string teamProject,
    string name
)
IBuildDefinition^ GetBuildDefinition(
    String^ teamProject, 
    String^ name
)
abstract GetBuildDefinition : 
        teamProject:string * 
        name:string -> IBuildDefinition 
function GetBuildDefinition(
    teamProject : String, 
    name : String
) : IBuildDefinition

Parameters

  • teamProject
    Type: System.String
    The build definition with the given URI.

Return Value

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

.NET Framework Security

See Also

Reference

IBuildServer Interface

GetBuildDefinition Overload

Microsoft.TeamFoundation.Build.Client Namespace