Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Notifies the provider that it is joining a synchronization session.
HRESULT BeginSession(
SYNC_PROVIDER_ROLE role,
ISyncSessionState * pSessionState);
Parameters
- role
[in] The role of this provider, relative to the other provider in the session.
- pSessionState
[in] The current status of the corresponding session.
Return Value
S_OK
Provider-determined error codes
Remarks
The provider must return an error if it cannot begin a session. This can occur when the provider has not been initialized, has an invalid configuration, or is already enlisted in an active session.