共用方式為


SyncGroupMetadata.BatchCount 屬性

取得或設定同步處理一組資料表所需的批次數目。

命名空間: Microsoft.Synchronization.Data
組件: Microsoft.Synchronization.Data (在 microsoft.synchronization.data.dll)

語法

'宣告
Public Property BatchCount As Integer
'用途
Dim instance As SyncGroupMetadata
Dim value As Integer

value = instance.BatchCount

instance.BatchCount = value
public int BatchCount { get; set; }
public:
property int BatchCount {
    int get ();
    void set (int value);
}
/** @property */
public int get_BatchCount ()

/** @property */
public void set_BatchCount (int value)
public function get BatchCount () : int

public function set BatchCount (value : int)

屬性值

同步處理一組資料表所需的批次數目。

備註

Sync Framework 可讓應用程式將變更的批次下載至用戶端 (上傳時不支援批次處理)。批次處理的啟用方式是針對 BatchSize 屬性指定一個值,然後為 SelectNewAnchorCommand 屬性建立一個命令,以便傳回每個變更批次的錨定值。如需詳細資訊,請參閱 HOW TO:指定變更的順序和批次大小

請參閱

參考

SyncGroupMetadata 類別
SyncGroupMetadata 成員
Microsoft.Synchronization.Data 命名空間