//------------------------------------------------------------------- // ECLConnMgr::StopConnection // // Stop the first connection in the connection list. //------------------------------------------------------------------- void Sample29() { ECLConnMgr CM; // Connection manager object if (CM.GetConnList()->GetCount() > 0) { printf("Stopping connection %c.\n", CM.GetConnList()->GetFirstConnection()->GetName()); CM.StopConnection( CM.GetConnList()->GetFirstConnection()->GetHandle(), "saveprofile=no"); } else printf("No connections to stop.\n"); } // end sample