'列出所有外部连接源名称及字符串
For Each cn As Connection In Connections
MessageBox.Show("名称:" & cn.Name)
MessageBox.Show("链接字符串:" & cn.ConnectionString)
Next