ITmi.GetTestRunConfigurations 方法
此 API 支持 .NET Framework 基础结构,不适合在代码中直接使用。
返回 Visual Studio 专业测试工具版的 UI 中所有的已加载测试运行配置。
命名空间: Microsoft.VisualStudio.TestTools.Common
程序集: Microsoft.VisualStudio.QualityTools.Common(在 Microsoft.VisualStudio.QualityTools.Common.dll 中)
语法
声明
Function GetTestRunConfigurations As TestRunConfiguration()
TestRunConfiguration[] GetTestRunConfigurations()
array<TestRunConfiguration^>^ GetTestRunConfigurations()
abstract GetTestRunConfigurations : unit -> TestRunConfiguration[]
function GetTestRunConfigurations() : TestRunConfiguration[]
返回值
类型:array<Microsoft.VisualStudio.TestTools.Common.TestRunConfiguration[]
一个由测试运行配置组成的数组。
.NET Framework 安全性
- 对直接调用方的完全信任。此成员不能由部分信任的代码使用。有关更多信息,请参见通过部分受信任的代码使用库。