Partilhar via


SqlCeConnectionPool.CloseSharedConnections Method

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.

Closes all "keep alive" connections for all database instanced.

Namespace:  Microsoft.Practices.EnterpriseLibrary.Data.SqlCe
Assembly:  Microsoft.Practices.EnterpriseLibrary.Data.SqlCe (in Microsoft.Practices.EnterpriseLibrary.Data.SqlCe.dll)

Syntax

'Declaration
Public Shared Sub CloseSharedConnections
public static void CloseSharedConnections()
public:
static void CloseSharedConnections()
public static function CloseSharedConnections()

See Also

SqlCeConnectionPool Class

Microsoft.Practices.EnterpriseLibrary.Data.SqlCe Namespace