Compartilhar via


Query.BeginCountOnlyQuery Method

Initializes a cancelable asynchronous query that will return only the count of results.

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

Syntax

'Declaração
Public Function BeginCountOnlyQuery As ICancelableAsyncResult
public ICancelableAsyncResult BeginCountOnlyQuery()
public:
ICancelableAsyncResult^ BeginCountOnlyQuery()
member BeginCountOnlyQuery : unit -> ICancelableAsyncResult 
public function BeginCountOnlyQuery() : ICancelableAsyncResult

Return Value

Type: Microsoft.TeamFoundation.Client.ICancelableAsyncResult
An object that represents the status of the cancelable asynchronous query.

Remarks

This method should be followed by Query.RunCountQuery() to execute the query.

.NET Framework Security

See Also

Reference

Query Class

BeginCountOnlyQuery Overload

Microsoft.TeamFoundation.WorkItemTracking.Client Namespace