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
- 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.