ISyncProviderRegistration::UnregisterSyncProvider method (syncregistration.h)

Unregisters and removes the specified synchronization provider from the registration store.

Syntax

HRESULT UnregisterSyncProvider(
  [in] LPCGUID pguidInstanceId
);

Parameters

[in] pguidInstanceId

The unique instance ID of the synchronization provider.

Return value

The possible return codes include, but are not limited to, the values shown in the following table.

Return code Description
S_OK
The method succeeded.
E_POINTER
Invalid pointer.
SYNC_E_REGISTRATION_NOTREGISTERED
A synchronization provider with the specified instance ID is not currently registered.

Requirements

Requirement Value
Minimum supported client Windows 7 [desktop apps only]
Minimum supported server Windows Server 2008 R2 [desktop apps only]
Target Platform Windows
Header syncregistration.h

See also

ISyncProviderRegistration Interface