TestManagementService.QueryTestRuns メソッド

この API は、.NET Framework インフラストラクチャをサポートします。独自に作成したコードから直接使用するためのものではありません。

指定したクエリを実行することによって検出されたテスト実行のリストを返します。

名前空間:  Microsoft.TeamFoundation.TestManagement.Client
アセンブリ:  Microsoft.TeamFoundation.TestManagement.Client (Microsoft.TeamFoundation.TestManagement.Client.dll 内)

構文

'宣言
Public Function QueryTestRuns ( _
    queryText As String _
) As IEnumerable(Of ITestRun)
public IEnumerable<ITestRun> QueryTestRuns(
    string queryText
)
public:
virtual IEnumerable<ITestRun^>^ QueryTestRuns(
    String^ queryText
) sealed
abstract QueryTestRuns : 
        queryText:string -> IEnumerable<ITestRun> 
override QueryTestRuns : 
        queryText:string -> IEnumerable<ITestRun> 
public final function QueryTestRuns(
    queryText : String
) : IEnumerable<ITestRun>

パラメーター

  • queryText
    型 : System.String
    実行する作業項目クエリ言語 (WIQL) クエリ。

戻り値

型 : System.Collections.Generic.IEnumerable<ITestRun>
クエリと一致するテスト実行のリスト。

実装

ITestManagementService.QueryTestRuns(String)

.NET Framework セキュリティ

  • 直前の呼び出し元に対する完全な信頼。このメンバーは、部分的に信頼されているコードから使用することはできません。詳細については、「部分信頼コードからのライブラリの使用」を参照してください。

参照

関連項目

TestManagementService クラス

Microsoft.TeamFoundation.TestManagement.Client 名前空間

ITestRun