private void CloseConnection(SdeConnection sdeConnection) { //sdeConnection.FreeStream(); if (sdeConnection.SeConnection.handle != IntPtr.Zero) { Wrapper10.SE_connection_free(sdeConnection.SeConnection); sdeConnection.SeConnection.handle = IntPtr.Zero; } sdeConnection.Dataset = null; }
protected override void CloseConnection(SdeConnection connection) { if (connection == null) { return; } if (connection.SeConnection.handle != IntPtr.Zero) { Wrapper10.SE_connection_free(connection.SeConnection); connection.SeConnection.handle = IntPtr.Zero; } }