Returns a count of the test cases that match the given query.
Namespace:  Microsoft.TeamFoundation.TestManagement.Client
Assembly:  Microsoft.TeamFoundation.TestManagement.Client (in Microsoft.TeamFoundation.TestManagement.Client.dll)
Syntax
'Declaration
Function Count ( _
    queryText As String _
) As Integer
int Count(
    string queryText
)
int Count(
    String^ queryText
)
abstract Count : 
        queryText:string -> int
function Count(
    queryText : String
) : int
Parameters
queryText
Type: StringThe Work Item Query Language (WIQL) query to execute.
Return Value
Type: Int32
The number of matching test cases.
.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.