Export (0) Print
Expand All

SqlCeEngine Methods

The methods of the SqlCeEngine class are listed here. For a complete list of SqlCeEngine class members, see the SqlCeEngine Members topic.

Public Methods

public methodCompact

Supported only by the .NET Compact Framework.

Reclaims wasted space in the SQL Server CE database. The Compact method is also used to change the collating order, encryption, or password of the SQL Server CE database. For more information, see the SQL Server CE Books Online.
public methodCreateDatabase

Supported only by the .NET Compact Framework.

Creates a new database.
public methodCreateObjRef (inherited from MarshalByRefObject) Creates an object that contains all the relevant information required to generate a proxy used to communicate with a remote object.
public methodDispose

Supported only by the .NET Compact Framework.

Releases all SQL Server CE SqlCeEngine resources.
public methodEquals (inherited from Object)

Supported only by the .NET Compact Framework.

Overloaded. Determines whether two Object instances are equal.
public methodGetHashCode (inherited from Object)

Supported only by the .NET Compact Framework.

Serves as a hash function for a particular type, suitable for use in hashing algorithms and data structures like a hash table.
public methodGetLifetimeService (inherited from MarshalByRefObject) Retrieves the current lifetime service object that controls the lifetime policy for this instance.
public methodGetType (inherited from Object)

Supported only by the .NET Compact Framework.

Gets the Type of the current instance.
public methodInitializeLifetimeService (inherited from MarshalByRefObject) Obtains a lifetime service object to control the lifetime policy for this instance.
public methodToString (inherited from Object)

Supported only by the .NET Compact Framework.

Returns a String that represents the current Object.

Protected Methods

protected methodFinalize

Supported only by the .NET Compact Framework.

Overridden. Frees resources before the SqlCeEngine is reclaimed by the Garbage Collector.

In C# and C++, finalizers are expressed using destructor syntax.

protected methodMemberwiseClone (inherited from Object)

Supported only by the .NET Compact Framework.

Creates a shallow copy of the current Object.

See Also

SqlCeEngine Class | System.Data.SqlServerCe Namespace

Show:
© 2015 Microsoft