ITestConfigurationHelper.Query 方法 (String, IDictionary)

 

使用提供的查询和上下文从服务器返回测试配置的集合。

命名空间:   Microsoft.TeamFoundation.TestManagement.Client
程序集:  Microsoft.TeamFoundation.TestManagement.Client(Microsoft.TeamFoundation.TestManagement.Client.dll 中)

语法

ITestConfigurationCollection Query(
    string queryText,
    IDictionary context
)
ITestConfigurationCollection^ Query(
    String^ queryText,
    IDictionary^ context
)
abstract Query : 
        queryText:string *
        context:IDictionary -> ITestConfigurationCollection
Function Query (
    queryText As String,
    context As IDictionary
) As ITestConfigurationCollection

参数

  • queryText
    将执行的 WIQL。
  • context
    指定 WIQL 参数值的字典。

返回值

Type: Microsoft.TeamFoundation.TestManagement.Client.ITestConfigurationCollection

匹配测试配置的集合。

请参阅

ITestConfigurationCollection
ITestConfiguration
Query 重载
ITestConfigurationHelper 接口
Microsoft.TeamFoundation.TestManagement.Client 命名空间

返回页首