| title | SQL Server Compact Edition Connection Manager | Microsoft Docs | |||
|---|---|---|---|---|
| ms.custom | ||||
| ms.date | 03/06/2017 | |||
| ms.prod | sql-server-2014 | |||
| ms.reviewer | ||||
| ms.technology | integration-services | |||
| ms.topic | conceptual | |||
| helpviewer_keywords |
|
|||
| ms.assetid | ba627d4d-41f4-49fc-a921-f534cde67770 | |||
| author | janinezhang | |||
| ms.author | janinez | |||
| manager | craigg |
A [!INCLUDEssNoVersion] Compact connection manager enables a package to connect to a [!INCLUDEssNoVersion] Compact database. The [!INCLUDEssNoVersion] Compact destination that [!INCLUDEmsCoName] [!INCLUDEssNoVersion] [!INCLUDEssISnoversion] includes uses this connection manager to load data into a table in a [!INCLUDEssNoVersion] Compact database.
Note
On a 64-bit computer, you must run packages that connect to [!INCLUDEssNoVersion] Compact data sources in 32-bit mode. The [!INCLUDEssNoVersion] Compact provider that [!INCLUDEssISnoversion] uses to connect to [!INCLUDEssNoVersion] Compact data sources is available only in a 32-bit version.
When you add a [!INCLUDEssNoVersion] Compact connection manager to a package, [!INCLUDEssISnoversion] creates a connection manager that will resolve to a [!INCLUDEssNoVersion] Compact connection at run time, sets the connection manager properties, and adds the connection manager to the Connections collection on the package.
The ConnectionManagerType property of the connection manager is set to SQLMOBILE.
You can configure the [!INCLUDEssNoVersion] Compact connection manager in the following ways:
-
Provide a connection string that specifies the location of the [!INCLUDEssNoVersion] Compact database.
-
Provide a password for a password-protected database.
-
Specify the server on which the database is stored.
-
Indicate whether the connection that is created from the connection manager is retained at run time.
You can set properties through [!INCLUDEssIS] Designer or programmatically.
For more information about the properties that you can set in [!INCLUDEssIS] Designer, click one of the following topics:
-
SQL Server Compact Edition Connection Manager Editor (Connection Page)
-
SQL Server Compact Edition Connection Manager Editor (All Page)
For information about configuring a connection manager programmatically, see xref:Microsoft.SqlServer.Dts.Runtime.ConnectionManager and Adding Connections Programmatically.