Compartilhar via


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)

Syntax

'Declaração
Public Function RunCountQuery As Integer
public int RunCountQuery()
public:
int RunCountQuery()
member RunCountQuery : unit -> int 
public function RunCountQuery() : int

Return Value

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

Remarks

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

.NET Framework Security

See Also

Reference

Query Class

Microsoft.TeamFoundation.WorkItemTracking.Client Namespace