title: Getting exception when i am creating clone of database
body: <p>I want to create a clone of a database using C#, but I am getting an exception </p>
  
  <blockquote>
    <p>DBCC CLONEDATABASE cannot be executed through MARS connection.</p>
  </blockquote>
  
  <p>My code:</p>
  
  <pre><code>SqlConnection sqlConnection = new SqlConnection(ConnectionString);
  
  DataTable dataTable = new DataTable();
  sqlConnection.Open();
  
  SqlDataAdapter sqlDataAdapter = new SqlDataAdapter(" DBCC CLONEDATABASE (SinglePoint, SinglePoint_1) ALTER DATABASE[SinglePoint_1] SET READ_WRITE ", sqlConnection);
  sqlDataAdapter.Fill(dataTable);
  sqlConnection.Close();
  </code></pre>