This documentation is archived and is not being maintained.
IBuildServer.GetBuildDefinition Method (Uri, QueryOptions)
Visual Studio 2013
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)
function GetBuildDefinition(
buildDefinitionUri : Uri,
options : QueryOptions
) : IBuildDefinition
Parameters
- buildDefinitionUri
- Type: System.Uri
The URI of the build definition.
- options
- Type: Microsoft.TeamFoundation.Build.Client.QueryOptions
The options to use when querying for data.
Return Value
Type: Microsoft.TeamFoundation.Build.Client.IBuildDefinitionThe build definition with the specified URI.
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.
Show: