Share via


ReplCloseSync (Windows Embedded CE 6.0)

1/6/2010

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.

This function is part of the counter-based replication model and is not supported under the bit-based replication model.

Requirements

Header pwindbas.h
Library coredll.lib
Windows Embedded CE Windows CE .NET 4.0 and later

See Also

Reference

Database Replication Functions
ReplGetSyncState
ReplOpenSync

Concepts

Using Replication to Synchronize Data