Compartir a través de


SqlCeConnectionPool Members

Retired Content

This content is outdated and is no longer being maintained. It is provided as a courtesy for individuals who are still using these technologies. This page may contain URLs that were valid when originally published, but now link to sites or pages that no longer exist.

The latest Enterprise Library information can be found at the Enterprise Library site.

The SqlCeConnectionPool type exposes the following members.

Constructors

  Name Description
Ee743640.pubmethod(en-us,PandP.10).gif SqlCeConnectionPool

Methods

  Name Description
Ee743640.pubmethod(en-us,PandP.10).gifEe743640.static(en-us,PandP.10).gif CloseSharedConnection
Closes the "keep alive" connection that is used by all databases with the same connection string as the one you provide.
Ee743640.pubmethod(en-us,PandP.10).gifEe743640.static(en-us,PandP.10).gif CloseSharedConnections
Closes all "keep alive" connections for all database instanced.
Ee743640.pubmethod(en-us,PandP.10).gifEe743640.static(en-us,PandP.10).gif CreateConnection
Creates a new connection. If this is the first connection, it also creates an extra "Keep Alive" connection to keep the database open.
Ee743640.pubmethod(en-us,PandP.10).gif Equals (Inherited from Object.)
Ee743640.protmethod(en-us,PandP.10).gif Finalize (Inherited from Object.)
Ee743640.pubmethod(en-us,PandP.10).gif GetHashCode (Inherited from Object.)
Ee743640.pubmethod(en-us,PandP.10).gif GetType (Inherited from Object.)
Ee743640.protmethod(en-us,PandP.10).gif MemberwiseClone (Inherited from Object.)
Ee743640.pubmethod(en-us,PandP.10).gif ToString (Inherited from Object.)

Fields

  Name Description
Ee743640.protfield(en-us,PandP.10).gifEe743640.static(en-us,PandP.10).gif connections
Keeps a list of "keep alive" connections.

See Also

SqlCeConnectionPool Class

Microsoft.Practices.EnterpriseLibrary.Data.SqlCe Namespace