WorkItemStore.QueryCount Method (String)

Gets the number of items that would be returned if the query was executed.

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

public int QueryCount(
	string wiql
)

Parameters

wiql
Type: System.String

The query to execute.

Return Value

Type: System.Int32
The number of items that are returned by the query.

ExceptionCondition
ArgumentNullException

The wiql is null.

Show: