SDE States table

Discussion created by vudangtc on Feb 15, 2011

When our app opens a connection and edit session to SDE (Oracle Spatial) from a C# application, the SDE table States has a new row for the connection.  However, after the edit session has been stopped and the connection has been Marshal.ReleaseComObject 'd , the SDE states table still has the row and its closing time column is null.  Comparing this to a edit session opened by ArcMap, I found that those rows created by ArcMap has a closing time. 

What ArcObjcet API method should I use to properly close an SDE connection and have the closing time recorded in the States table.

Our DBA believes that our app is not working properly.  Please help.