This documentation is archived and is not being maintained.
IBuildServer.QueryBuildDefinitions Method (String, QueryOptions)
Visual Studio 2013
Gets the build definitions for the specified team project. The specified query options determine the amount of data that is retrieved in the query.
Namespace: Microsoft.TeamFoundation.Build.Client
Assembly: Microsoft.TeamFoundation.Build.Client (in Microsoft.TeamFoundation.Build.Client.dll)
IBuildDefinition[] QueryBuildDefinitions(
string teamProject,
QueryOptions options
)
Parameters
- teamProject
- Type: System.String
The team project for which build definitions are retrieved.
- options
- Type: Microsoft.TeamFoundation.Build.Client.QueryOptions
The options to use when querying for data.
Return Value
Type: Microsoft.TeamFoundation.Build.Client.IBuildDefinition[]The build definitions for 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: