CoverageDatabase.CreateFromCoverage Method (String, String)
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
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 Shared Function CreateFromCoverage (
coverageFilePath As String,
databasePath As String
) As CoverageDatabase
Parameters
coverageFilePath
Type: System.StringThe path of the coverage file.
databasePath
Type: System.StringThe path of the new database file to create.
Return Value
Type: Microsoft.VisualStudio.Coverage.Analysis.Database.CoverageDatabase
A new coverage database.
See Also
CreateFromCoverage Overload
CoverageDatabase Class
Microsoft.VisualStudio.Coverage.Analysis.Database Namespace
Return to top