ITestPlan.QueryTestPointsAndStatistics – metoda (String, String, ITestPointStatistics%)
Vyhledá všechny body, které patří do tohoto plánu a splňují podmínky dané WIQL.
Obor názvů: Microsoft.TeamFoundation.TestManagement.Client
Sestavení: Microsoft.TeamFoundation.TestManagement.Client (v Microsoft.TeamFoundation.TestManagement.Client.dll)
Syntaxe
'Deklarace
Function QueryTestPointsAndStatistics ( _
queryText As String, _
testCaseFieldText As String, _
<OutAttribute> ByRef statistics As ITestPointStatistics _
) As ITestPointCollection
ITestPointCollection QueryTestPointsAndStatistics(
string queryText,
string testCaseFieldText,
out ITestPointStatistics statistics
)
ITestPointCollection^ QueryTestPointsAndStatistics(
String^ queryText,
String^ testCaseFieldText,
[OutAttribute] ITestPointStatistics^% statistics
)
abstract QueryTestPointsAndStatistics :
queryText:string *
testCaseFieldText:string *
statistics:ITestPointStatistics byref -> ITestPointCollection
function QueryTestPointsAndStatistics(
queryText : String,
testCaseFieldText : String,
statistics : ITestPointStatistics
) : ITestPointCollection
Parametry
- queryText
Typ: System.String
WIQL řetězec dotazu pro načítání bodů.
- testCaseFieldText
Typ: System.String
WIQL řetězec pro načítání vloženého testovacího případu.
- statistics
Typ: Microsoft.TeamFoundation.TestManagement.Client.ITestPointStatistics%
Statistiky bodů dotazován.
Vrácená hodnota
Typ: Microsoft.TeamFoundation.TestManagement.Client.ITestPointCollection
Kolekce body odpovídající dotazu.
Poznámky
Zde jsou některá pole WIQL, které lze použít v tomto dotazu: SuiteId ConfigurationId TestCaseId PointState AreaPath RecursiveSuiteId: dotaz všechny body v hierarchii suite, počínaje RecursiveSuiteId.
Zabezpečení rozhraní .NET Framework
- Plná důvěra přímému volajícímu. Částečně zabezpečený kód nemůže tento člen použít. Další informace naleznete v tématu Používání knihoven z částečně důvěryhodného kódu.