Share via


Engine Object Methods

The following methods are supported by the Engine object:

Method Description

CompactDatabase Method (SQL Server Compact Edition)

The CompactDatabase method compacts and reclaims wasted space in the local Microsoft SQL Server 2005 Compact Edition (SQL Server Compact Edition) database. This method can also be used to change the collating order, encryption, and password settings of the database.

CreateDatabase Method (SQL Server Compact Edition)

The CreateDatabase method creates a new SQL Server Compact Edition database.

Repair Method (SQL Server Compact Edition)

The Repair method tries to repair a corrupted database.

See Also

Other Resources

SQL Server Compact Edition Engine Object Programming

Help and Information

Getting SQL Server Compact Edition Assistance