WorkItemStore.QueryCount Method (String, IDictionary)

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,
	IDictionary context
)

Parameters

wiql
Type: System.String

The query to execute.

context
Type: System.Collections.IDictionary

The parameters for the work item query.

Return Value

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

ExceptionCondition
ArgumentNullException

The wiql is null.

Was this page helpful?
(1500 characters remaining)
Thank you for your feedback
Show:
© 2014 Microsoft