Note
Ang pag-access sa pahinang ito ay nangangailangan ng pahintulot. Maaari mong subukang mag-sign in o magpalit ng mga direktoryo.
Ang pag-access sa pahinang ito ay nangangailangan ng pahintulot. Maaari mong subukang baguhin ang mga direktoryo.
Gets the ISyncProvider interface of the provider that caused synchronization to fail.
Syntax
HRESULT GetSyncProviderWithError(
ISyncProvider ** ppProviderWithError);
Parameters
- ppProviderWithError
[out, retval] Gets the ISyncProvider interface of the provider that caused synchronization to fail.
Return Value
S_OK
E_POINTER
SYNC_E_INVALID_OPERATION if a synchronization session was not started.
Remarks
The destination provider indicates which provider caused synchronization to fail during processing of the IKnowledgeSyncProvider::ProcessChangeBatch method by using ISyncSessionState2::SetProviderWithError. ISyncSessionExtendedErrorInfo::GetSyncProviderWithError is used by an application to obtain the ISyncProvider interface of the provider that caused the failure. The application can then query for other interfaces that are implemented by the provider, and call methods to handle the error.