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