How to close connection after IReplicationAgent.SynchronizeReplica

1839
0
04-14-2016 10:59 AM
SteveWalke
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.
https://desktop.arcgis.com/en/arcobjects/latest/net/webframe.htm#827d50f4-7fa8-40b1-9995-f8234d62020...

0 Kudos
0 Replies