Query.BeginCountOnlyQuery Method
Runs a Query where only the number of results is returned, not the actual result values.
Namespace: Microsoft.TeamFoundation.WorkItemTracking.Client
Assembly: Microsoft.TeamFoundation.WorkItemTracking.Client (in Microsoft.TeamFoundation.WorkItemTracking.Client.dll)
Syntax
'Declaration
Public Function BeginCountOnlyQuery As ICancelableAsyncResult
'Usage
Dim instance As Query
Dim returnValue As ICancelableAsyncResult
returnValue = instance.BeginCountOnlyQuery()
public ICancelableAsyncResult BeginCountOnlyQuery()
public:
ICancelableAsyncResult^ BeginCountOnlyQuery()
public function BeginCountOnlyQuery() : ICancelableAsyncResult
Return Value
Type: Microsoft.TeamFoundation.Client.ICancelableAsyncResult
The ICancelableAsyncResult for the query.
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.