KnowledgeSyncProvider.GetSyncBatchParameters Method
When overridden in a derived class, gets the number of item changes that will be included in change batches, and the current knowledge for the synchronization scope.
Namespace: Microsoft.Synchronization
Assembly: Microsoft.Synchronization (in microsoft.synchronization.dll)
Syntax
'Declaration
Public MustOverride Sub GetSyncBatchParameters ( _
<OutAttribute> ByRef batchSize As UInteger, _
<OutAttribute> ByRef knowledge As SyncKnowledge _
)
'Usage
Dim instance As KnowledgeSyncProvider
Dim batchSize As UInteger
Dim knowledge As SyncKnowledge
instance.GetSyncBatchParameters(batchSize, knowledge)
public abstract void GetSyncBatchParameters (
out uint batchSize,
out SyncKnowledge knowledge
)
public:
virtual void GetSyncBatchParameters (
[OutAttribute] unsigned int% batchSize,
[OutAttribute] SyncKnowledge^% knowledge
) abstract
public abstract void GetSyncBatchParameters (
/** @attribute OutAttribute() */ /** @ref */ UInt32 batchSize,
/** @attribute OutAttribute() */ /** @ref */ SyncKnowledge knowledge
)
JScript does not support passing value-type arguments by reference.
Parameters
- batchSize
The number of item changes that will be included in change batches returned by this object.
- knowledge
The current knowledge for the synchronization scope, or a newly created knowledge object if no current knowledge exists.
Remarks
Typically, Sync Framework calls this method after it calls BeginSession and before it calls EndSession. However, the ConsumeFeed and LoadFrom methods both call this method before they call BeginSession.
See Also
Reference
KnowledgeSyncProvider Class
KnowledgeSyncProvider Members
Microsoft.Synchronization Namespace