WaitForEndWrites (Opnum 4)

This method is called by a COMA client to synchronize with the server after performing a write operation.

 HRESULT WaitForEndWrites();

This method has no parameters.

Return Values: This method MUST return S_OK (0x00000000) on success, and a failure result, as specified in [MS-ERREF] section 2.1, on failure. All failure results MUST be treated identically.

Return value/code




The call was successful.

Upon receiving a call to this method, the server MUST attempt to wait until it can guarantee that the state of the catalog for subsequent reads from and writes to the catalog will reflect all previous writes, and fail if it cannot.

If the server makes this guarantee on return from ICatalogTableWrite::WriteTable (section, the server SHOULD immediately return S_OK (0x00000000).