How to close connection after IReplicationAgent.SynchronizeReplica

04-14-2016 10:59 AM
New Contributor

I am using the example in this link to synchronize from one GDB to another.  However, when I am done with the sync, I am left with a connection to the Database.  Please help me close this connection.  I have Marshal.ReleaseComObject to all objects already.  The connection will not close until the application itself closes.  The issue is that the application needs to continue on to do other things and I don't want this connection to stay open.  I could use SDEMON -o kill, but was looking for a more graceful way to close my connection.

0 Kudos
0 Replies