Compartilhar via


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
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 Compact Edition 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 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.
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 Compact Edition 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. (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 Compact Edition 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