Share via


CoverageDatabase.CreateFromCoverage Method (String, String)

This API supports the .NET Framework infrastructure and is not intended to be used directly from your code.

Creates a new coverage database file by using the provided path of the coverage file and the provided database file path.

Namespace:  Microsoft.VisualStudio.Coverage.Analysis.Database
Assembly:  Microsoft.VisualStudio.Coverage.Analysis (in Microsoft.VisualStudio.Coverage.Analysis.dll)

Syntax

'Declaration
Public Shared Function CreateFromCoverage ( _
    coverageFilePath As String, _
    databasePath As String _
) As CoverageDatabase
public static CoverageDatabase CreateFromCoverage(
    string coverageFilePath,
    string databasePath
)
public:
static CoverageDatabase^ CreateFromCoverage(
    String^ coverageFilePath, 
    String^ databasePath
)
static member CreateFromCoverage : 
        coverageFilePath:string * 
        databasePath:string -> CoverageDatabase
public static function CreateFromCoverage(
    coverageFilePath : String, 
    databasePath : String
) : CoverageDatabase

Parameters

  • coverageFilePath
    Type: String

    The path of the coverage file.

  • databasePath
    Type: String

    The path of the new database file to create.

Return Value

Type: Microsoft.VisualStudio.Coverage.Analysis.Database.CoverageDatabase
A new coverage database.

.NET Framework Security

See Also

Reference

CoverageDatabase Class

CreateFromCoverage Overload

Microsoft.VisualStudio.Coverage.Analysis.Database Namespace