ITestCaseResultHelper.Query 方法
查詢符合所提供查詢的測試案例結果。
命名空間: Microsoft.TeamFoundation.TestManagement.Client
組件: Microsoft.TeamFoundation.TestManagement.Client (在 Microsoft.TeamFoundation.TestManagement.Client.dll 中)
語法
'宣告
Function Query ( _
queryText As String _
) As ITestCaseResultCollection
ITestCaseResultCollection Query(
string queryText
)
ITestCaseResultCollection^ Query(
String^ queryText
)
abstract Query :
queryText:string -> ITestCaseResultCollection
function Query(
queryText : String
) : ITestCaseResultCollection
參數
queryText
類型:String將要執行的工作項目查詢語言 (WIQL)。
傳回值
類型:Microsoft.TeamFoundation.TestManagement.Client.ITestCaseResultCollection
相符測試案例結果的清單。
.NET Framework 安全性
- 完全信任立即呼叫者。這個成員無法供部分信任的程式碼使用。如需詳細資訊,請參閱從部分受信任程式碼使用程式庫。