BuildWebService4.QueryBuildDefinitionsByUri Method
Queries for build definitions given a set of URIs. The server will return a definition for each valid URI in the array.
Namespace: Microsoft.TeamFoundation.Build.Server
Assembly: Microsoft.TeamFoundation.Build.Server (in Microsoft.TeamFoundation.Build.Server.dll)
Syntax
'Declaration
<WebMethodAttribute> _
<ClientServiceMethodAttribute(AsyncPattern := True, SyncPattern := True)> _
Public Function QueryBuildDefinitionsByUri ( _
uris As String(), _
propertyNameFilters As String(), _
options As QueryOptions _
) As BuildDefinitionQueryResult
[WebMethodAttribute]
[ClientServiceMethodAttribute(AsyncPattern = true, SyncPattern = true)]
public BuildDefinitionQueryResult QueryBuildDefinitionsByUri(
string[] uris,
string[] propertyNameFilters,
QueryOptions options
)
[WebMethodAttribute]
[ClientServiceMethodAttribute(AsyncPattern = true, SyncPattern = true)]
public:
BuildDefinitionQueryResult^ QueryBuildDefinitionsByUri(
array<String^>^ uris,
array<String^>^ propertyNameFilters,
QueryOptions options
)
[<WebMethodAttribute>]
[<ClientServiceMethodAttribute(AsyncPattern = true, SyncPattern = true)>]
member QueryBuildDefinitionsByUri :
uris:string[] *
propertyNameFilters:string[] *
options:QueryOptions -> BuildDefinitionQueryResult
public function QueryBuildDefinitionsByUri(
uris : String[],
propertyNameFilters : String[],
options : QueryOptions
) : BuildDefinitionQueryResult
Parameters
uris
Type: array<System.String[]A list of valid build definition URI strings.
- propertyNameFilters
Type: array<System.String[]
- options
Type: Microsoft.TeamFoundation.Build.Server.QueryOptions
Return Value
Type: Microsoft.TeamFoundation.Build.Server.BuildDefinitionQueryResult
A list of BuildDefinitionQueryResult objects; one for each input URI.
.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.