Share via


IKnowledgeSyncProvider::EndSession

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

HRESULT EndSession(
  ISyncSessionState * pSessionState);

Parameters

  • pSessionState
    [in] The current status of the corresponding session.

Return Value

  • S_OK

  • Provider-determined error codes.

Remarks

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

Notes for Implementers

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.

See Also

Reference

IKnowledgeSyncProvider Interface