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 名前空間