SqlCeVersionManager.GetVersion Method

Visual Studio 2010

Retrieves the version of the SQL Server Compact database given the file path.

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

public static SqlCeVersion GetVersion(
	string connectionString
)

Parameters

connectionString
Type: System.String
The connection string that identifies the database file.

Return Value

Type: Microsoft.SqlServerCe.VersionManagement.SqlCeVersion
The SQL Server Compact version of which the database is built against.
Show: