IBuildServer.QueryBuildDefinitionsByUri Method (array<Uri , QueryOptions)
Gets the build definitions that match the given URIs. 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
'宣言
Function QueryBuildDefinitionsByUri ( _
buildDefinitionUris As Uri(), _
options As QueryOptions _
) As IBuildDefinition()
IBuildDefinition[] QueryBuildDefinitionsByUri(
Uri[] buildDefinitionUris,
QueryOptions options
)
array<IBuildDefinition^>^ QueryBuildDefinitionsByUri(
array<Uri^>^ buildDefinitionUris,
QueryOptions options
)
abstract QueryBuildDefinitionsByUri :
buildDefinitionUris:Uri[] *
options:QueryOptions -> IBuildDefinition[]
function QueryBuildDefinitionsByUri(
buildDefinitionUris : Uri[],
options : QueryOptions
) : IBuildDefinition[]
Parameters
- buildDefinitionUris
Type: array<System.Uri[]
The build definition URIs.
- 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 unmatched URIs, corresponding indices will be null.
.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.