This topic has not yet been rated - Rate this topic

IReplicaMetadata::GetCustomFieldMetadata

Gets the custom metadata field that is associated with this replica.


HRESULT GetCustomFieldMetadata(
  BYTE * pbValue,
  ULONG * pcbValue);

Parameters

pbValue

[in, out, unique, size_is(*pcbValue)] Returns the custom metadata field value.

pcbValue

[in, out] Specifies the number of bytes in pbValue. Returns the required number of bytes for pbValue when pbValue is too small, or the number of bytes written to pbValue when data is written.

  • S_OK.

  • E_POINTER.

  • HRESULT_FROM_WIN32(ERROR_MORE_DATA) when pbValue is too small. In this case, pcbValue returns the number of bytes required.

  • SYNC_E_METADATA_VALUE_NOT_SET if the custom metadata field value has not been set or if it was set to NULL.

The custom metadata field provides a place to store information about the replica as a whole.

Did you find this helpful?
(1500 characters remaining)
© 2013 Microsoft. All rights reserved.