Compartilhar via


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

See Also

Reference

Query Class

Microsoft.TeamFoundation.WorkItemTracking.Client Namespace