ISimilarity::CloseTable method (msrdc.h)

Closes the tables in a similarity file.

Syntax

HRESULT CloseTable(
  [in] BOOL isValid
);

Parameters

[in] isValid

FALSE if the similarity traits table and similarity file ID table should be deleted when they are closed; otherwise, TRUE.

Return value

If this method succeeds, it returns S_OK. Otherwise, it returns an HRESULT error code.

Remarks

If FALSE is specified for the isValid parameter, only the tables are deleted; the similarity file is not deleted. The caller is responsible for deleting the similarity file.

When the CloseTable method returns, the tables are always closed, even if this method returns an error code.

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