次の方法で共有


ReplCloseSync (Compact 2013)

3/26/2014

This function closes a synchronization client's synchronization session.

Syntax

BOOL ReplCloseSync(
  HREPL hRepl
);

Parameters

  • hRepl
    [in] Handle to an open synchronization session, obtained from a call to the ReplOpenSync function.

Return Value

TRUE indicates success. FALSE indicates failure. For extended error information, call GetLastError.

Remarks

The synchronization session can resume later if you save the session state returned by the ReplGetSyncState function and passing it to ReplOpenSync to reopen it later.

Requirements

Header

pwindbas.h

Library

coredll.lib

See Also

Reference

Database Replication Functions
ReplGetSyncState
ReplOpenSync