there is nothing to clean up here. We can just exit out after cleaning up the
local recordsets
GoTo BailOut
End If
! The stored procedure itself kicked off the synchronization process with the
directory using the flags we used above. You need to wait for the synch to
complete here and check for errors before moving on unless you are doing some
batch operation or you have a note from your mother stating otherwise. The
WaitForSyncToFinish function will wait for the syncher to finish and will also
take care of cleaning up the synch ticket row for you as well as rolling back
the subscriber add if it fails for whatever reason. The code ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month, and much more.