共用方式為


ICoverageAnalysisManager.QueryTestRunCoverage 方法

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

語法

'宣告
Function QueryTestRunCoverage ( _
    testRunId As Integer, _
    flags As CoverageQueryFlags _
) As ITestRunCoverage()
ITestRunCoverage[] QueryTestRunCoverage(
    int testRunId,
    CoverageQueryFlags flags
)
array<ITestRunCoverage^>^ QueryTestRunCoverage(
    int testRunId, 
    CoverageQueryFlags flags
)
abstract QueryTestRunCoverage : 
        testRunId:int * 
        flags:CoverageQueryFlags -> ITestRunCoverage[] 
function QueryTestRunCoverage(
    testRunId : int, 
    flags : CoverageQueryFlags
) : ITestRunCoverage[]

參數

  • testRunId
    類型:Int32

傳回值

類型:array<Microsoft.TeamFoundation.TestManagement.Client.ITestRunCoverage[]
傳回 ITestRunCoverage

.NET Framework 安全性

請參閱

參考

ICoverageAnalysisManager 介面

Microsoft.TeamFoundation.TestManagement.Client 命名空間