Catatan
Akses ke halaman ini memerlukan otorisasi. Anda dapat mencoba masuk atau mengubah direktori.
Akses ke halaman ini memerlukan otorisasi. Anda dapat mencoba mengubah direktori.
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.