Share via


ITestRunHelper.Count Method

Returns the number of test-run objects on the server 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: String

    A Work Item Query Language (WIQL) query.

Return Value

Type: Int32
The number of test-run objects that match the given query.

.NET Framework Security

See Also

Reference

ITestRunHelper Interface

Microsoft.TeamFoundation.TestManagement.Client Namespace

ITestRun