I dont think so, but you can sort of get around it:
Create user defined variables:
server: {USERVAR(dbserver)}
database: {USERVAR(db)}
finally create a variable that combined the two:
{USERVAR(connstring)} => Data Source={USERVAR(dbserver)};Initial Catalog={USERVAR(db)};Integrated Security=SSPI;
These variables will be available everywhere, so you can pass them around. You can also create connections with variables. Ofcourse, this comes at the expense of security (visible connectionstrings).
Thomas