ISessionHelper.Query Method

Queries the server to find all 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 Query ( _
    queryText As String _
) As IEnumerable(Of ISession)
IEnumerable<ISession> Query(
    string queryText
)
IEnumerable<ISession^>^ Query(
    String^ queryText
)
abstract Query : 
        queryText:string -> IEnumerable<ISession> 
function Query(
    queryText : String
) : IEnumerable<ISession>

Parameters

  • queryText
    Type: String

    WIQL query to execute.

Return Value

Type: IEnumerable<ISession>
List of test sessions.

.NET Framework Security

See Also

Reference

ISessionHelper Interface

Microsoft.TeamFoundation.TestManagement.Client Namespace