BuildWebService.QueryBuildDefinitions Method
Queries the server for items that match the input BuildItemSpec objects. This method can be used to discover items by means of the path if the URI is unknown.
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 QueryBuildDefinitions ( _
specs As BuildDefinitionSpec2010() _
) As List(Of BuildDefinitionQueryResult2010)
[WebMethodAttribute]
[ClientServiceMethodAttribute(AsyncPattern = true, SyncPattern = true)]
public List<BuildDefinitionQueryResult2010> QueryBuildDefinitions(
BuildDefinitionSpec2010[] specs
)
[WebMethodAttribute]
[ClientServiceMethodAttribute(AsyncPattern = true, SyncPattern = true)]
public:
List<BuildDefinitionQueryResult2010^>^ QueryBuildDefinitions(
array<BuildDefinitionSpec2010^>^ specs
)
[<WebMethodAttribute>]
[<ClientServiceMethodAttribute(AsyncPattern = true, SyncPattern = true)>]
member QueryBuildDefinitions :
specs:BuildDefinitionSpec2010[] -> List<BuildDefinitionQueryResult2010>
public function QueryBuildDefinitions(
specs : BuildDefinitionSpec2010[]
) : List<BuildDefinitionQueryResult2010>
Parameters
- specs
Type: array<Microsoft.TeamFoundation.Build.Server.Compatibility.BuildDefinitionSpec2010[]
Return Value
Type: System.Collections.Generic.List<BuildDefinitionQueryResult2010>
A list of BuildItemQueryResult objects, one for each input BuildItemSpec.
.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