This documentation is archived and is not being maintained.
IBuildServer.GetBuildDefinition Method (String, String, 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(
teamProject : String,
name : String,
options : QueryOptions
) : IBuildDefinition
Parameters
- teamProject
- Type: System.String
The team project that owns the build definition.
- name
- Type: System.String
The name 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 name in the specified team project.
- 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: