Export (0) Print
Expand All

SqlCeVersionManager.CreateDatabase Method

Visual Studio 2010

Creates a new SQL Server Compact database as identified by the connection string with the SQL Server Compact runtime as specified by the database version argument.

Namespace:  Microsoft.SqlServerCe.VersionManagement
Assembly:  Microsoft.SqlServerCe.VersionManagement (in Microsoft.SqlServerCe.VersionManagement.dll)

public static void CreateDatabase(
	string connectionString,
	SqlCeVersion databaseVersion
)

Parameters

connectionString
Type: System.String
A string that represents the connection.
databaseVersion
Type: Microsoft.SqlServerCe.VersionManagement.SqlCeVersion
The SQL Server Compact runtime version.
Show:
© 2015 Microsoft