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
Public method Supported by the .NET Compact Framework SqlCeEngine Overloaded. Initializes a new instance of the SqlCeEngine class.

Top

Public Properties

  Name Description
Public property Supported by the .NET Compact Framework LocalConnectionString Gets or sets the connection string to the SQL Server Mobile database.

Top

Public Methods

(see also Protected Methods )

  Name Description
Public method Supported by the .NET Compact Framework 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.
Public method Supported by the .NET Compact Framework CreateDatabase Creates a new database.
Public method Supported by the .NET Compact Framework Dispose Releases all SQL Server Mobile SqlCeEngine resources.
Public method Supported by the .NET Compact Framework Equals  Overloaded. Determines whether two Object instances are equal. (Inherited from Object.)
Public method Supported by the .NET Compact Framework 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.)
Public method Supported by the .NET Compact Framework GetType  Gets the Type of the current instance. (Inherited from Object.)
Public method Static Supported by the .NET Compact Framework ReferenceEquals  Determines whether the specified Object instances are the same instance. (Inherited from Object.)
Public method Supported by the .NET Compact Framework Repair Repairs a corrupted database.
Public method Supported by the .NET Compact Framework 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.
Public method Supported by the .NET Compact Framework ToString  Returns a String that represents the current Object. (Inherited from Object.)
Public method Supported by the .NET Compact Framework Verify Recalculates the checksums for each page in the database and compares the new checksums to the expected values.

Top

Protected Methods

  Name Description
Protected method Supported by the .NET Compact Framework 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.)
Protected method Supported by the .NET Compact Framework MemberwiseClone  Creates a shallow copy of the current Object. (Inherited from Object.)

Top

See Also

Reference

SqlCeEngine Class
System.Data.SqlServerCe Namespace