Query.RunQuery Method
Executes a query that gets a WorkItemCollection that contains WorkItem objects that satisfy the query.
Namespace: Microsoft.TeamFoundation.WorkItemTracking.Client
Assembly: Microsoft.TeamFoundation.WorkItemTracking.Client (in Microsoft.TeamFoundation.WorkItemTracking.Client.dll)
Syntax
'Declaração
Public Function RunQuery As WorkItemCollection
public WorkItemCollection RunQuery()
public:
WorkItemCollection^ RunQuery()
member RunQuery : unit -> WorkItemCollection
public function RunQuery() : WorkItemCollection
Return Value
Type: Microsoft.TeamFoundation.WorkItemTracking.Client.WorkItemCollection
A WorkItemCollection that contains WorkItem objects that satisfy the query.
Remarks
A query must first be initialized by using the Query.BeginQuery() method.
.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.