من از دیتابیس بک آپ تهیه کردم هنگام بازگردانی از دستر زیر استفاده کردم

string q = "restore Database a from Disk = 'c:\\a1.mdf'";
SqlConnection con1 = new SqlConnection("Data Source=LG-719EF9684EE4\\A;Initial Catalog=a;Integrated Security=True");
SqlCommand com1 = new SqlCommand(q, con1);
con1.Open();
com1.ExecuteScalar();
con1.Close();
و با پیغام
Exclusive access could not be obtained because the database is in use.
RESTORE DATABASE is terminating abnormally.
مواجه شدم اشکال از کجاست ممنون میشوم اگر کسی هست جواب بدهد