SqlCeEngine Members
Represents the properties, methods, and other objects of the SQL Server Mobile 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 Mobile database. |
Top
Public Methods
(see also Protected Methods )
Name | Description | |
---|---|---|
Compact | Reclaims wasted space in the SQL Server Mobile 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 Mobile SqlCeEngine resources. | |
Equals | Overloaded. Determines whether two Object instances are equal. (Inherited from Object.) | |
GetHashCode | Serves as a hash function for a particular type. GetHashCode is suitable for use in hashing algorithms and data structures like a hash table. (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 Mobile 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