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 命名空间