ITestPlan.QueryTestPoints 方法 (String, String, array<String[], Boolean)

尋找屬於此計劃並符合所指定的工作項目查詢語言 (WIQL) 條件的所有點。

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

語法

'宣告
Function QueryTestPoints ( _
    pointQueryText As String, _
    testCaseFieldText As String, _
    testCaseProperties As String(), _
    fetchFirstPage As Boolean _
) As ITestPointCollection
ITestPointCollection QueryTestPoints(
    string pointQueryText,
    string testCaseFieldText,
    string[] testCaseProperties,
    bool fetchFirstPage
)
ITestPointCollection^ QueryTestPoints(
    String^ pointQueryText, 
    String^ testCaseFieldText, 
    array<String^>^ testCaseProperties, 
    bool fetchFirstPage
)
abstract QueryTestPoints : 
        pointQueryText:string * 
        testCaseFieldText:string * 
        testCaseProperties:string[] * 
        fetchFirstPage:bool -> ITestPointCollection 
function QueryTestPoints(
    pointQueryText : String, 
    testCaseFieldText : String, 
    testCaseProperties : String[], 
    fetchFirstPage : boolean
) : ITestPointCollection

參數

  • pointQueryText
    型別:System.String
    要擷取之的工作項目查詢語言 (WIQL) 查詢字串。
  • testCaseFieldText
    型別:System.String
    擷取的內嵌的測試案例工作項目查詢語言 (WIQL) 字串。
  • testCaseProperties
    型別:array<System.String[]
    某些相關聯的測試案例的 屬性,加入至預先擷取和快取
  • fetchFirstPage
    型別:System.Boolean
    如果為 true,則呼叫可能正在從伺服器的第一頁。

傳回值

型別:Microsoft.TeamFoundation.TestManagement.Client.ITestPointCollection
符合查詢的點集合。

備註

這可用於這個查詢的特定工作項目查詢語言 (WIQL) 欄位:SuiteId ConfigurationId TestCaseId PointState AreaPath RecursiveSuiteId:查詢是以開始 RecursiveSuiteId 的套件階層架構的所有點。

.NET Framework 安全性

請參閱

參考

ITestPlan 介面

QueryTestPoints 多載

Microsoft.TeamFoundation.TestManagement.Client 命名空間