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: StringWIQL query to execute.
Return Value
Type: IEnumerable<ISession>
List of test sessions.
.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.