SqlCeVersionManager Class
Identifies the SQL Server Compact version of which the database file is built against.
Inheritance Hierarchy
System.Object
Microsoft.SqlServerCe.VersionManagement.SqlCeVersionManager
Namespace: Microsoft.SqlServerCe.VersionManagement
Assembly: Microsoft.SqlServerCe.VersionManagement (in Microsoft.SqlServerCe.VersionManagement.dll)
Syntax
'Declaration
Public NotInheritable Class SqlCeVersionManager
'Usage
public static class SqlCeVersionManager
public ref class SqlCeVersionManager abstract sealed
[<AbstractClassAttribute>]
[<SealedAttribute>]
type SqlCeVersionManager = class end
public final class SqlCeVersionManager
The SqlCeVersionManager type exposes the following members.
Properties
Name | Description | |
---|---|---|
AllDesignTimesAvailable | Gets all design-time information that has been centrally installed on the user machine. | |
AllRuntimesAvailable | Gets all SQL Server Compact runtime engine information that have been centrally installed in the given user machine. | |
LatestDesignTimeAvailable | Gets the latest design-time information available on the machine. | |
LatestRuntimeAvailable | Gets the latest SQL Server Compact runtime available in the machine. |
Top
Methods
Name | Description | |
---|---|---|
CreateDatabase | 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. | |
GetDesignTimeProviderFactoryName(String) | Retrieves the design time provider factory name to be used for the given database file. | |
GetDesignTimeProviderFactoryName(SqlCeVersion) | Retrieves the SQL Server Compact design time provider factory name for the specified version of the SQL Server Compact runtime. | |
GetProviderFactory(String) | Retrieves the provider factory to be used for the given database file. | |
GetProviderFactory(SqlCeVersion) | Retrieves the SQL Server Compact provider factory for the specified version of the SQL Server Compact runtime. | |
GetRuntimeInformation(String) | Retrieves the information of the runtime for the given database file. | |
GetRuntimeInformation(SqlCeVersion) | Retrieves the SQL Server Compact runtime information for the specified version of the SQL Server Compact. | |
GetRuntimeProviderFactoryName(String) | Retrieves the runtime provider factory name to be used for the given database file. | |
GetRuntimeProviderFactoryName(SqlCeVersion) | Retrieves the SQL Server Compact runtime provider factory name for the specified version of the SQL Server Compact runtime. | |
GetVersion | Retrieves the version of the SQL Server Compact database given the file path. | |
IsRuntimeAvailable | Indicates whether the SQL Server Compact runtime of the specified version is available. | |
UpgradeDatabase | Upgrades the SQL Server Compact database as identified by the connection string with the SQL Server Compact runtime as specified by the database version argument. |
Top
Thread Safety
Any public static (Shared in Microsoft Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.