ISimilarity::Append method (msrdc.h)

Adds the file ID and similarity data information to the tables in the similarity file.

Syntax

HRESULT Append(
  [in] SimilarityFileId *similarityFileId,
  [in] SimilarityData   *similarityData
);

Parameters

[in] similarityFileId

A pointer to the SimilarityFileId structure to be added to the similarity file ID table.

[in] similarityData

A pointer to the SimilarityData structure to be added to the similarity traits table.

Return value

Returns S_OK on success, or an error HRESULT on failure.

This method can also return the following error codes.

Remarks

If this method fails, the similarity file ID table and the similarity traits table are marked as corrupted and must be rebuilt by the application. The application must close the corrupted tables and create new tables.

Requirements

Requirement Value
Minimum supported client Windows Vista
Minimum supported server Windows Server 2008
Target Platform Windows
Header msrdc.h
DLL MsRdc.dll

See also

ISimilarity