IProviderSyncServices2::CreateSyncSessionState
Sync Framework 2.0
Creates an ISyncSessionState object that can be used to contain information about the synchronization session.
HRESULT CreateSyncSessionState( ISyncCallback * pCallbacks, ISyncSessionState ** ppSyncSessionState);
Parameters
|
Term |
Definition |
|
pCallbacks |
[in, unique] Callbacks that will receive notifications about change application events. |
|
ppSyncSessionState |
[out] Returns the newly created ISyncSessionState object. |
Sync Framework typically passes an ISyncSessionState object to a provider by using the IKnowledgeSyncProvider::BeginSession method. CreateSyncSessionState can be used in remote scenarios when a provider needs to create an ISyncSessionState object locally.