SqlCeEngine Members
Represents the properties, methods, and other objects of the Microsoft SQL Server 2005 Compact Edition Engine object. This class cannot be inherited.
The following tables list the members exposed by the SqlCeEngine type.
Public Constructors
Name | Description | |
---|---|---|
SqlCeEngine | Overloaded. Initializes a new instance of the SqlCeEngine class. |
Top
Public Properties
Name | Description | |
---|---|---|
LocalConnectionString | Gets or sets the connection string to the SQL Server Compact Edition database. |
Top
Public Methods
(see also Protected Methods )
Name | Description | |
---|---|---|
Compact | Reclaims wasted space in the SQL Server Compact Edition 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 Edition SqlCeEngine resources. | |
Equals | Overloaded. Determines whether two Object instances are equal. (inherited from Object) | |
GetHashCode | Serves as a hash function for a particular type. (inherited from Object) | |
GetType | Gets the Type of the current instance. (inherited from Object) | |
ReferenceEquals | Determines whether the specified Object instances are the same instance. (inherited from Object) | |
Repair | Repairs a corrupted database. | |
Shrink | Reclaims wasted space in the SQL Server Compact Edition database by moving empty pages to the end of the file, and then truncating the file. | |
ToString | Returns a String that represents the current Object. (inherited from Object) | |
Verify | Recalculates the checksums for each page in the database and compares the new checksums to the expected values. |
Top
Protected Methods
Name | Description | |
---|---|---|
Finalize | Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection. (inherited from Object) | |
MemberwiseClone | Creates a shallow copy of the current Object. (inherited from Object) |
Top