BuildService.QueryBuildGroups Method
Queries the server for items that match the input BuildItemSpec objects. This method may 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 QueryBuildGroups ( _
specs As BuildGroupItemSpec2010() _
) As List(Of BuildGroupQueryResult)
[WebMethodAttribute]
[ClientServiceMethodAttribute(AsyncPattern = true, SyncPattern = true)]
public List<BuildGroupQueryResult> QueryBuildGroups(
BuildGroupItemSpec2010[] specs
)
[WebMethodAttribute]
[ClientServiceMethodAttribute(AsyncPattern = true, SyncPattern = true)]
public:
List<BuildGroupQueryResult^>^ QueryBuildGroups(
array<BuildGroupItemSpec2010^>^ specs
)
[<WebMethodAttribute>]
[<ClientServiceMethodAttribute(AsyncPattern = true, SyncPattern = true)>]
member QueryBuildGroups :
specs:BuildGroupItemSpec2010[] -> List<BuildGroupQueryResult>
public function QueryBuildGroups(
specs : BuildGroupItemSpec2010[]
) : List<BuildGroupQueryResult>
Parameters
- specs
Type: array<Microsoft.TeamFoundation.Build.Server.Compatibility.BuildGroupItemSpec2010[]
Return Value
Type: System.Collections.Generic.List<BuildGroupQueryResult>
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