BuildService.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.Compatibility
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() _
) As BuildGroupQueryResult
[WebMethodAttribute]
[ClientServiceMethodAttribute(AsyncPattern = true, SyncPattern = true)]
public BuildGroupQueryResult QueryBuildDefinitionsByUri(
string[] uris
)
[WebMethodAttribute]
[ClientServiceMethodAttribute(AsyncPattern = true, SyncPattern = true)]
public:
BuildGroupQueryResult^ QueryBuildDefinitionsByUri(
array<String^>^ uris
)
[<WebMethodAttribute>]
[<ClientServiceMethodAttribute(AsyncPattern = true, SyncPattern = true)>]
member QueryBuildDefinitionsByUri :
uris:string[] -> BuildGroupQueryResult
public function QueryBuildDefinitionsByUri(
uris : String[]
) : BuildGroupQueryResult
Parameters
uris
Type: array<System.String[]A list of valid build definition URI strings.
Return Value
Type: Microsoft.TeamFoundation.Build.Server.Compatibility.BuildGroupQueryResult
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.
See Also
Reference
Microsoft.TeamFoundation.Build.Server.Compatibility Namespace