SQL Server Compact Edition Connection Manager

A SQL Server Compact connection manager enables a package to connect to a SQL Server Compact database. The SQL Server Compact destination that Microsoft SQL Server Integration Services includes uses this connection manager to load data into a table in a SQL Server Compact database.

Note

On a 64-bit computer, you must run packages that connect to SQL Server Compact data sources in 32-bit mode. The SQL Server Compact provider that Integration Services uses to connect to SQL Server Compact data sources is available only in a 32-bit version.

When you add a SQL Server Compact connection manager to a package, Integration Services creates a connection manager that will resolve to a SQL Server 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 SQL Server Compact connection manager in the following ways:

  • Provide a connection string that specifies the location of the SQL Server 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.

Configuring the SQL Server Compact Edition Connection Manager

You can set properties through SSIS Designer or programmatically.

For more information about the properties that you can set in SSIS Designer, click one of the following topics:

For information about configuring a connection manager programmatically, see ConnectionManager and Adding Connections Programmatically.

Integration Services icon (small) Stay Up to Date with Integration Services

For the latest downloads, articles, samples, and videos from Microsoft, as well as selected solutions from the community, visit the Integration Services page on MSDN or TechNet:

For automatic notification of these updates, subscribe to the RSS feeds available on the page.