It makes no sense for me. Why not "return ConfigurationManager.ConnectionStrings[name]"?