class CShoutDown { public: CShoutDown() { // } ~CShoutDown() { // Here Server ShoutDown // All SQL Command } }; CShoutDown IAmHere;