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.
Indicates which provider caused synchronization to fail.
Syntax
HRESULT SetProviderWithError(
BOOL fSelf);
Parameters
- fSelf
[in] TRUE when the provider that calls this method is the provider that caused the error. Otherwise, FALSE.
Return Value
S_OK
SYNC_E_INVALID_OPERATION when a synchronization session does not exist.
Remarks
The destination provider indicates which provider caused synchronization to fail during processing of the IKnowledgeSyncProvider::ProcessChangeBatch method by using ISyncSessionState2::SetProviderWithError. ISyncSessionState2::SetProviderWithError 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.