ITestPlan.QueryTestPointHierarchy Method
Returns the hierarchy of test suites that contains test points that match the WIQL query.
Namespace: Microsoft.TeamFoundation.TestManagement.Client
Assembly: Microsoft.TeamFoundation.TestManagement.Client (in Microsoft.TeamFoundation.TestManagement.Client.dll)
Syntax
'Declaration
Function QueryTestPointHierarchy ( _
queryText As String _
) As HierarchyEntry
HierarchyEntry QueryTestPointHierarchy(
string queryText
)
HierarchyEntry^ QueryTestPointHierarchy(
String^ queryText
)
abstract QueryTestPointHierarchy :
queryText:string -> HierarchyEntry
function QueryTestPointHierarchy(
queryText : String
) : HierarchyEntry
Parameters
queryText
Type: StringA WIQL query string.
Return Value
Type: Microsoft.TeamFoundation.TestManagement.Client.HierarchyEntry
The root of the test suites hierarchy that contains test points that match the query.
Remarks
Here are some of the WIQL fields that can be used in this query: SuiteId ConfigurationId TestCaseId PointState AreaPath SuiteId = X will retrieve all children of point X SuiteId UNDER X will retrieve all descendants of point X
.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.