SqlCeEngine Methods
Include Protected Members
Include Inherited Members
The SqlCeEngine type exposes the following members.
Methods
Name | Description | |
---|---|---|
Compact | Reclaims wasted space in the SQL Server Compact database by creating a new database file from the existing file. This method is also used to change the collating order, encryption, or password settings of the database. | |
CreateDatabase | Creates a new database. | |
Dispose | Releases all SQL Server Compact SqlCeEngine resources. | |
Equals | (inherited from Object) | |
Finalize | (inherited from Object) | |
GetHashCode | (inherited from Object) | |
GetType | (inherited from Object) | |
MemberwiseClone | (inherited from Object) | |
Repair | Repairs a corrupted database. | |
Shrink | Reclaims wasted space in the SQL Server Compact database by moving empty pages to the end of the file, and then truncating the file. | |
ToString | (inherited from Object) | |
Upgrade() | Upgrades a SQL Server Compact database from version 3.5 to 4.0. After the upgrade, the database will be encrypted if the source database was encrypted. If it was not, the upgraded database will be unencrypted. | |
Upgrade(String) | Upgrades a SQL Server Compact database from version 3.5 to 4.0. The destination database will be encrypted if the encryption mode was specified in the Destination Connection string. The collation of the database will be case sensitive if the case-sensitive property is set to true in the connection string. | |
Verify() | Recalculates the checksums for each page in the database and compares the new checksums to the expected values. | |
Verify(VerifyOption) | Verifies the integrity of the database based on the VerifyOption. |
Top