WorkItemStore.Query Method (String)
Executes the query that is described in wiql and returns a collection of work items.
Namespace: Microsoft.TeamFoundation.WorkItemTracking.Client
Assembly: Microsoft.TeamFoundation.WorkItemTracking.Client (in Microsoft.TeamFoundation.WorkItemTracking.Client.dll)
Syntax
'Declaration
Public Function Query ( _
wiql As String _
) As WorkItemCollection
public WorkItemCollection Query(
string wiql
)
public:
WorkItemCollection^ Query(
String^ wiql
)
member Query :
wiql:string -> WorkItemCollection
public function Query(
wiql : String
) : WorkItemCollection
Parameters
wiql
Type: System.StringThe work item query string.
Return Value
Type: Microsoft.TeamFoundation.WorkItemTracking.Client.WorkItemCollection
A collection of work items that result from the query.
Remarks
For more information about using this method, see Query for Bugs, Tasks, and Other Work Items.
.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.