UnmanagedSyncProviderWrapper.GetSyncBatchParameters Method
Gets the requested batch size and current knowledge for the scope from the unmanaged provider.
Namespace: Microsoft.Synchronization
Assembly: Microsoft.Synchronization (in Microsoft.Synchronization.dll)
Syntax
'Declaration
Public Overrides Sub GetSyncBatchParameters ( _
<OutAttribute> ByRef batchSize As UInteger, _
<OutAttribute> ByRef knowledge As SyncKnowledge _
)
'Usage
Dim instance As UnmanagedSyncProviderWrapper
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
)
Parameters
- batchSize
Type: System.UInt32%
Returns the requested batch size.
- knowledge
Type: Microsoft.Synchronization.SyncKnowledge%
Returns the current knowledge for the scope, or a newly created knowledge object when no current knowledge exists.
Exceptions
Exception | Condition |
---|---|
InvalidOperationException | This UnmanagedSyncProviderWrapper object is not initialized. |
Remarks
This method wraps the unmanaged IKnowledgeSyncProvider::GetSyncBatchParameters method.