ITestPlan.QueryTestPoints 方法 (String)
尋找並傳回屬於這個測試計劃的所有測試點,並比對提供的查詢。
命名空間: Microsoft.TeamFoundation.TestManagement.Client
組件: Microsoft.TeamFoundation.TestManagement.Client (在 Microsoft.TeamFoundation.TestManagement.Client.dll 中)
語法
'宣告
Function QueryTestPoints ( _
queryText As String _
) As ITestPointCollection
ITestPointCollection QueryTestPoints(
string queryText
)
ITestPointCollection^ QueryTestPoints(
String^ queryText
)
abstract QueryTestPoints :
queryText:string -> ITestPointCollection
function QueryTestPoints(
queryText : String
) : ITestPointCollection
參數
- queryText
型別:System.String
WIQLstring,會尋找測試點物件。
傳回值
型別:Microsoft.TeamFoundation.TestManagement.Client.ITestPointCollection
測試點的集合。
備註
這可用於這個查詢的特定工作項目查詢語言 (WIQL) 欄位:SuiteId ConfigurationId TestCaseId PointState AreaPath RecursiveSuiteId:查詢是以開始 RecursiveSuiteId 的套件階層架構的所有點。
.NET Framework 安全性
- 完全信任立即呼叫者。這個成員無法供部分信任的程式碼使用。如需詳細資訊,請參閱從部分受信任程式碼使用程式庫。