共用方式為


3.1.4.17.2 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

Description

0x00000000

S_OK

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 3.1.4.9.1), the server SHOULD immediately return S_OK (0x00000000).