共用方式為


ITestPlanHelper.Query 方法 (String)

傳回符合提供之工作項目查詢語言 (WIQL) 查詢的測試計劃清單。

命名空間:  Microsoft.TeamFoundation.TestManagement.Client
組件:  Microsoft.TeamFoundation.TestManagement.Client (在 Microsoft.TeamFoundation.TestManagement.Client.dll 中)

語法

'宣告
Function Query ( _
    queryText As String _
) As ITestPlanCollection
ITestPlanCollection Query(
    string queryText
)
ITestPlanCollection^ Query(
    String^ queryText
)
abstract Query : 
        queryText:string -> ITestPlanCollection 
function Query(
    queryText : String
) : ITestPlanCollection

參數

  • queryText
    型別:System.String
    將要執行的工作項目查詢語言 (WIQL) 查詢。

傳回值

型別:Microsoft.TeamFoundation.TestManagement.Client.ITestPlanCollection
相符測試計劃的清單。

.NET Framework 安全性

請參閱

參考

ITestPlanHelper 介面

Query 多載

Microsoft.TeamFoundation.TestManagement.Client 命名空間

ITestPlan