IBuildServer.QueryBuildDefinitions Method (String, QueryOptions)
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)
Syntax
'Declaração
Function QueryBuildDefinitions ( _
teamProject As String, _
options As QueryOptions _
) As IBuildDefinition()
IBuildDefinition[] QueryBuildDefinitions(
string teamProject,
QueryOptions options
)
array<IBuildDefinition^>^ QueryBuildDefinitions(
String^ teamProject,
QueryOptions options
)
abstract QueryBuildDefinitions :
teamProject:string *
options:QueryOptions -> IBuildDefinition[]
function QueryBuildDefinitions(
teamProject : String,
options : QueryOptions
) : IBuildDefinition[]
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: array<Microsoft.TeamFoundation.Build.Client.IBuildDefinition[]
The build definitions for the specified team project.
.NET Framework Security
- 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.