AnsweredAssumed Answered

How to close connection after IReplicationAgent.SynchronizeReplica

Question asked by scwalke on Apr 14, 2016


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.
https://desktop.arcgis.com/en/arcobjects/latest/net/webframe.htm#827d50f4-7fa8-40b1-9995-f8234d620207.htm

Outcomes