ReplCloseSync
This function closes a synchronization client's synchronization session.
BOOL ReplCloseSync(
HREPL hRepl
);
Parameters
- hRepl
[in] Handle to an open synchronization session, obtained from a call to the ReplOpenSync function.
Return Values
Returns TRUE if the session is successfully closed. Returns FALSE if an error occurs. For extended error information, see the GetLastError function.
Remarks
The synchronization session may resume later by saving the session state returned by the ReplGetSyncState function and passing it to ReplOpenSync to reopen it later.
This API is part of the counter-based replication model and is not supported under the bit-based replication model.
Requirements
OS Versions: Windows CE .NET 4.0 and later.
Header: Pwindbas.h.
Link Library: Coredll.lib.
See Also
Counter-Based Replication | ReplGetSyncState | ReplOpenSync
Last updated on Wednesday, April 13, 2005
© 2005 Microsoft Corporation. All rights reserved.