共用方式為


SqlSyncAdapterBuilder 成員

建立 SyncAdapter 以及讓用戶端與 SQL Server 資料庫同步所需的 SQL 命令。

下表列出 SqlSyncAdapterBuilder 型別公開的成員。

公用建構函式

  名稱 描述
Public method SqlSyncAdapterBuilder 多載。初始化 SqlSyncAdapterBuilder 類別的新執行個體。

頂端

公用屬性

(另請參閱 受保護的屬性 )

  名稱 描述
Public property ChangeTrackingType 指定伺服器資料庫會使用 SQL Server 中的變更追蹤功能,還是自訂結合的變更追蹤系統,預設值為 CoupledChangeTracking
Public property Connection 取得或設定與伺服器資料庫的連接。
Public property Container  (繼承自 Component。)
Public property CreationOriginatorIdColumn 取得或設定基底資料表中用來追蹤插入資料列之使用者的資料行。
Public property CreationTrackingColumn 取得或設定基底資料表中用來追蹤插入資料列之時間的資料行。
Public property DataColumns 取得要同步處理之資料行的集合。如此可讓您同步處理資料表中的資料行子集。
Public property DeletionOriginatorIdColumn 取得或設定標記資料表中用來追蹤刪除資料列之使用者的資料行。
Public property DeletionTrackingColumn 取得或設定標記資料表中用來追蹤刪除資料列之時間的資料行。
Public property FilterClause 指定用來篩選基底資料表中結果集的 SQL WHERE 子句 (不含 WHERE 關鍵字)。
Public property FilterParameters 取得 FilterClause 中所使用之篩選參數的集合。
Public property QuotePrefix 指定用於資料庫物件名稱 (如資料表和資料行) 的左分隔符號 (Delimiter),例如左方括弧。
Public property QuoteSuffix 指定用於資料庫物件名稱 (如資料表和資料行) 的右分隔符號,例如右方括弧。
Public property RowGuidColumn 取得或設定用來識別基底資料表和標記資料表中資料列之 uniqueidentifier 資料型別的資料行。
Public property Site  (繼承自 Component。)
Public property SyncDirection 從用戶端的觀點指定同步處理的方向,預設的方向為 Bidirectional
Public property TableName 取得或設定建立 SyncAdapter 物件的基底資料表名稱。
Public property TombstoneDataColumns 取得要同步處理之資料行的集合。如此可讓您同步處理資料表中的資料行子集。
Public property TombstoneFilterClause 指定用來篩選標記資料表中結果集的 SQL WHERE 子句 (不含 WHERE 關鍵字)。
Public property TombstoneFilterParameters 取得 TombstoneFilterClause 中所使用之篩選參數的集合。
Public property TombstoneTableName 取得或設定用來同步處理刪除的標記資料表名稱。
Public property UpdateOriginatorIdColumn 取得或設定基底資料表中用來追蹤更新資料列之使用者的資料行。
Public property UpdateTrackingColumn 取得或設定基底資料表中用來追蹤更新資料列之時間的資料行。

頂端

受保護的屬性

  名稱 描述
Protected property CanRaiseEvents  (繼承自 Component。)
Protected property DesignMode  (繼承自 Component。)
Protected property Events  (繼承自 Component。)

頂端

公用方法

(另請參閱 受保護的方法 )

  名稱 描述
Public method CreateObjRef  (繼承自 MarshalByRefObject。)
Public method Dispose  多載。 (繼承自 Component。)
Public method Equals  多載。 (繼承自 Object。)
Public method GetHashCode  (繼承自 Object。)
Public method GetLifetimeService  (繼承自 MarshalByRefObject。)
Public method GetType  (繼承自 Object。)
Public method InitializeLifetimeService  (繼承自 MarshalByRefObject。)
Public method Bb686930.static(zh-tw,SQL.105).gif ReferenceEquals  (繼承自 Object。)
Public method ToString  (繼承自 Component。)
Public method ToSyncAdapter 多載。針對 TableName 中指定的資料表建立同步處理配接器。

頂端

受保護的方法

  名稱 描述
Protected method Dispose  多載。 (繼承自 Component。)
Protected method Finalize  (繼承自 Component。)
Protected method GetService  (繼承自 Component。)
Protected method MemberwiseClone  多載。 (繼承自 MarshalByRefObject。)

頂端

公用事件

  名稱 描述
Public event Disposed  (繼承自 Component。)

頂端

請參閱

參考

SqlSyncAdapterBuilder 類別
Microsoft.Synchronization.Data.Server 命名空間