複寫架構

複寫功能會使用 Microsoft SQL Server Compact 3.5 中的下列元件︰

  • SQL Server Compact 3.5 資料庫引擎

  • SQL Server Compact 3.5 用戶端代理程式

  • SQL Server Compact 3.5 伺服器代理程式

  • SQL Server Compact 3.5 複寫提供者

複寫架構

SQL Server Compact 3.5 Database Engine

SQL Server Compact 3.5資料庫引擎管理裝置上的本機資料庫。對於訂閱資料庫,SQL Server Compact 3.5資料庫引擎藉由維護每一筆記錄的變更追蹤資訊,追蹤所有已插入、更新或刪除的資料庫記錄。

SQL Server Compact 3.5 用戶端代理程式

SQL Server Compact 3.5 用戶端代理程式是裝置上主要的 SQL Server Compact 3.5 複寫元件。SQL Server Compact 3.5 用戶端代理程式實作 SQL Server Compact 3.5 Replication 物件介面。應用程式呼叫此介面,以程式設計的方式控制複寫。

SQL Server Compact 3.5 伺服器代理程式

SQL Server Compact 3.5 伺服器代理程式是負責管理 SQL Server 和 SQL Server Compact 3.5 之間通訊的元件。SQL Server Compact 3.5 伺服器代理程式存在於執行 Microsoft Internet Information Services (IIS) 的伺服器,並處理所有 SQL Server Compact 3.5 用戶端代理程式發出的 HTTP 要求。

SQL Server Reconciler 和 SQL Server Compact 3.5 複寫提供者

在執行同步處理時,SQL Server Reconciler 會叫用 SQL Server Compact 3.5 複寫提供者。SQL Server Reconciler 和 SQL Server Compact 3.5 複寫提供者都在執行 IIS 的伺服器上,SQL Server Compact 3.5 Server Tools 也安裝在該處。當啟動 SQL Server Reconciler 時,發行者端的合併代理程式會與訂閱建立關聯。