Export (0) Print
Expand All

SqlCeVersionManager Class

Visual Studio 2010

Identifies the SQL Server Compact version of which the database file is built against.

System.Object
  Microsoft.SqlServerCe.VersionManagement.SqlCeVersionManager

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

'Declaration
Public NotInheritable Class SqlCeVersionManager
'Usage

The SqlCeVersionManager type exposes the following members.

  NameDescription
Public propertyStatic memberAllDesignTimesAvailableGets all design-time information that has been centrally installed on the user machine.
Public propertyStatic memberAllRuntimesAvailableGets all SQL Server Compact runtime engine information that have been centrally installed in the given user machine.
Public propertyStatic memberLatestDesignTimeAvailableGets the latest design-time information available on the machine.
Public propertyStatic memberLatestRuntimeAvailableGets the latest SQL Server Compact runtime available in the machine.
Top

  NameDescription
Public methodStatic memberCreateDatabaseCreates 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.
Public methodStatic memberGetDesignTimeProviderFactoryName(String)Retrieves the design time provider factory name to be used for the given database file.
Public methodStatic memberGetDesignTimeProviderFactoryName(SqlCeVersion)Retrieves the SQL Server Compact design time provider factory name for the specified version of the SQL Server Compact runtime.
Public methodStatic memberGetProviderFactory(String)Retrieves the provider factory to be used for the given database file.
Public methodStatic memberGetProviderFactory(SqlCeVersion)Retrieves the SQL Server Compact provider factory for the specified version of the SQL Server Compact runtime.
Public methodStatic memberGetRuntimeInformation(String)Retrieves the information of the runtime for the given database file.
Public methodStatic memberGetRuntimeInformation(SqlCeVersion)Retrieves the SQL Server Compact runtime information for the specified version of the SQL Server Compact.
Public methodStatic memberGetRuntimeProviderFactoryName(String)Retrieves the runtime provider factory name to be used for the given database file.
Public methodStatic memberGetRuntimeProviderFactoryName(SqlCeVersion)Retrieves the SQL Server Compact runtime provider factory name for the specified version of the SQL Server Compact runtime.
Public methodStatic memberGetVersionRetrieves the version of the SQL Server Compact database given the file path.
Public methodStatic memberIsRuntimeAvailableIndicates whether the SQL Server Compact runtime of the specified version is available.
Public methodStatic memberUpgradeDatabaseUpgrades 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

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.
Show:
© 2014 Microsoft