Share via


ISessionHelper.Count Method

Queries the server to find the number of test sessions matching 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

    WIQL query to execute.

Return Value

Type: Int32
List of test sessions.

.NET Framework Security

See Also

Reference

ISessionHelper Interface

Microsoft.TeamFoundation.TestManagement.Client Namespace