Udostępnij za pośrednictwem


IProviderMetadataUpgradeCallback::OnReplicaCustomFieldDeserialized

Occurs when the custom metadata field for the replica is read from the serialized metadata.

HRESULT OnReplicaCustomFieldDeserialized(
  const BYTE * bFieldValue,
  DWORD cbFieldLen);

Parameters

  • bFieldValue
    [in] The value of the custom metadata field for the replica.
  • cbFieldLen
    [in] The length in bytes of bFieldValue.

Return Value

  • S_OK

  • Provider-determined error codes

Remarks

The provider can examine the custom metadata field for the replica that is contained in bFieldValue and make any necessary changes before it returns from this method. The custom metadata field must not be changed in such a way that other provider versions cannot read or write it.

See Also

Reference

IProviderMetadataUpgradeCallback Interface