IKnowledgeSyncProvider::EndSession

Notifies the provider that a synchronization session to which it was enlisted has finished.


HRESULT EndSession(
  ISyncSessionState * pSessionState);

pSessionState

[in] The current status of the corresponding session.

  • S_OK

  • Provider-determined error codes.

pSessionState will be equal to the ISyncSessionState object that was provided to the previous corresponding call to IKnowledgeSyncProvider::BeginSession.

This method must return an error, typically SYNC_E_INVALIDOPERATION, if the provider did not previously receive a call to BeginSession for the specified session.

When this method is called, the provider must release any references it has to the ISyncSessionState object that is specified by pSessionState.

Show: