共用方式為


GetSyncBatchParameters 方法

取得變更批次中要包含的資料 KB 數,以及此同步處理範圍的目前知識。

命名空間:  Microsoft.Synchronization.Data
組件:  Microsoft.Synchronization.Data (在 Microsoft.Synchronization.Data.dll 中)

語法

'宣告
Public Overrides Sub GetSyncBatchParameters ( _
    <OutAttribute> ByRef batchSize As UInteger, _
    <OutAttribute> ByRef knowledge As SyncKnowledge _
)
'用途
Dim instance As RelationalSyncProvider
Dim batchSize As UInteger
Dim knowledge As SyncKnowledge

instance.GetSyncBatchParameters(batchSize, _
    knowledge)
public override void GetSyncBatchParameters(
    out uint batchSize,
    out SyncKnowledge knowledge
)
public:
virtual void GetSyncBatchParameters(
    [OutAttribute] unsigned int% batchSize, 
    [OutAttribute] SyncKnowledge^% knowledge
) override
abstract GetSyncBatchParameters : 
        batchSize:uint32 byref * 
        knowledge:SyncKnowledge byref -> unit 
override GetSyncBatchParameters : 
        batchSize:uint32 byref * 
        knowledge:SyncKnowledge byref -> unit 
public override function GetSyncBatchParameters(
    batchSize : uint, 
    knowledge : SyncKnowledge
)

參數

例外

例外狀況 條件
ObjectDisposedException

這個 RelationalSyncProvider 已被處置。

請參閱

參考

RelationalSyncProvider類別

RelationalSyncProvider 成員

Microsoft.Synchronization.Data 命名空間