Delen via


IBuildServer.GetBuildDefinition Method (Uri, 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 ( _
    buildDefinitionUri As Uri, _
    options As QueryOptions _
) As IBuildDefinition
IBuildDefinition GetBuildDefinition(
    Uri buildDefinitionUri,
    QueryOptions options
)
IBuildDefinition^ GetBuildDefinition(
    Uri^ buildDefinitionUri, 
    QueryOptions options
)
abstract GetBuildDefinition : 
        buildDefinitionUri:Uri * 
        options:QueryOptions -> IBuildDefinition
function GetBuildDefinition(
    buildDefinitionUri : Uri, 
    options : QueryOptions
) : IBuildDefinition

Parameters

  • buildDefinitionUri
    Type: System.Uri

    The URI of the build definition.

Return Value

Type: Microsoft.TeamFoundation.Build.Client.IBuildDefinition
The build definition with the specified URI.

.NET Framework Security

See Also

Reference

IBuildServer Interface

GetBuildDefinition Overload

Microsoft.TeamFoundation.Build.Client Namespace