vudangtc

How to close an SDE connection

Discussion created by vudangtc on Feb 14, 2011
Latest reply on Feb 15, 2011 by lftgly
Hello,

Is there a proper way to close an SDE connection or just let the IWorkspace garbage collected by .NET.  What we have is an IWorkspace to an SDE that we start and edit session, made some edits, stopped the operation, stopped edit session.  At this point should we issue another command to close the IWorkspace?

Currently, in our Oracle database the SDE.states table grows by one record for every edit session that is opened and these records stay after the edit session is stopped.

Thanks,
Vu

Outcomes