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)


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


  • coverageFilePath
    Type: System.String
    The path of the coverage file.
  • databasePath
    Type: System.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


CoverageDatabase Class

CreateFromCoverage Overload

Microsoft.VisualStudio.Coverage.Analysis.Database Namespace