ITestPlan.QueryTestPointsAndStatistics – metoda (String, String, array<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, _
testCaseProperties As String(), _
<OutAttribute> ByRef statistics As ITestPointStatistics _
) As ITestPointCollection
ITestPointCollection QueryTestPointsAndStatistics(
string queryText,
string testCaseFieldText,
string[] testCaseProperties,
out ITestPointStatistics statistics
)
ITestPointCollection^ QueryTestPointsAndStatistics(
String^ queryText,
String^ testCaseFieldText,
array<String^>^ testCaseProperties,
[OutAttribute] ITestPointStatistics^% statistics
)
abstract QueryTestPointsAndStatistics :
queryText:string *
testCaseFieldText:string *
testCaseProperties:string[] *
statistics:ITestPointStatistics byref -> ITestPointCollection
function QueryTestPointsAndStatistics(
queryText : String,
testCaseFieldText : String,
testCaseProperties : 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.
- testCaseProperties
Typ: array<System.String[]
Pole vlastnosti přidružené testovacího případu pre-fetch a mezipaměti
- 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.