Click here to view and discuss this page in DocCommentXchange. In the future, you will be sent there automatically.
Allows a client to cancel a synchronization request previously made using the Sync method.
public virtual DBSC_CancelRet CancelSync(
The synchronization handle returned by the Sync method when the synchronization was requested.
When set to true, the request is canceled even if the synchronization has already begun. When set
to false, the request is only canceled if synchronization has not begun.
A value from the DBSC_CancelRet enumeration. When DBSC_CANCEL_FAILED is returned, you can call the GetErrorInfo method for
more information about the failure.
A connection must be established to the server before this method can be used. This method cannot be used if the client has
disconnected from the server since the Sync method was called.