This documentation is archived and is not being maintained.

Query::RunCountQuery Method

Executes a query that returns the number of results.

Namespace:  Microsoft.TeamFoundation.WorkItemTracking.Client
Assembly:  Microsoft.TeamFoundation.WorkItemTracking.Client (in Microsoft.TeamFoundation.WorkItemTracking.Client.dll)

public:
int RunCountQuery()

Return Value

Type: System::Int32
The count of results that satisfied the query.

A count query must first be initialized by using the Query::BeginCountOnlyQuery() method.

Show: