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: StringThe path of the coverage file.
databasePath
Type: StringThe path of the new database file to create.
Return Value
Type: Microsoft.VisualStudio.Coverage.Analysis.Database.CoverageDatabase
A new coverage database.
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.