IKnowledgeSyncProvider::GetSyncBatchParameters method (winsync.h)

Gets the requested number of item changes that will be included in change batches, and the current knowledge for the synchronization scope.

Syntax

HRESULT GetSyncBatchParameters(
  [out] ISyncKnowledge **ppSyncKnowledge,
  [out] DWORD          *pdwRequestedBatchSize
);

Parameters

[out] ppSyncKnowledge

Returns the current knowledge for the synchronization scope, or a newly created knowledge object if no current knowledge exists.

[out] pdwRequestedBatchSize

Returns the requested number of item changes that will be included in change batches returned by the source provider.

Return value

The possible return codes include, but are not limited to, the values shown in the following table.

Return code Description
S_OK
The method succeeded.
Provider-determined error codes

Requirements

Requirement Value
Minimum supported client Windows 7 [desktop apps only]
Minimum supported server Windows Server 2008 R2 [desktop apps only]
Target Platform Windows
Header winsync.h

See also

IKnowledgeSyncProvider Interface