Share via


ISimpleSyncProvider::GetProviderVersion

Returns the version number for the simple provider.

HRESULT GetProviderVersion(
  USHORT *pCurrentProviderVersion);

Parameters

  • pCurrentProviderVersion
    [out] The version number for the simple provider.

Return Value

  • S_OK

Remarks

Provider version is tied closely to the data and metadata schema for a provider, not necessarily to the actual build or release number of the provider. If a provider changes its data or metadata schema, it should increase its version. Conversely, if a new release of a provider does not change the schema, it is not necessary to increase the version.

See Also

Reference

ISimpleSyncProvider Interface