Skip to content

Latest commit

 

History

History
49 lines (34 loc) · 3.52 KB

File metadata and controls

49 lines (34 loc) · 3.52 KB
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
SQL Server Compact, connection manager
connections [Integration Services], SQL Server Compact
connection managers [Integration Services], SQL Server Compact
ms.assetid ba627d4d-41f4-49fc-a921-f534cde67770
author janinezhang
ms.author janinez
manager craigg

SQL Server Compact Edition Connection Manager

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.

Configuration the SQL Server Compact Edition Connection Manager

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:

For information about configuring a connection manager programmatically, see xref:Microsoft.SqlServer.Dts.Runtime.ConnectionManager and Adding Connections Programmatically.