public SqlConnection(ConnectionName connectionName) { if (connectionName == null) { throw new ArgumentException("connectionName must have a value"); } }