Поделиться через


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

Parameters

  • buildDefinitionUri
    Type: System.Uri

    The URI fo the build definition

  • propertyNameFilters
    Type: array<System.String[]

    Property names to query

Return Value

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

.NET Framework Security

See Also

Reference

IBuildServer Interface

GetBuildDefinition Overload

Microsoft.TeamFoundation.Build.Client Namespace