SqlCommand.ExecuteNonQuery()
.No. Very much no. That's like say that your application would create a text file using Notepad. Notepad is an application for a human user to create, open, edit and save text files. If you're doing it in code, you're not using a separate GUI application to work with text files. Likewise, ADS is a GUI application for a human user to work with SQL Server databases. If your application is working with databases then it's not automating a GUI app to do it. It's connecting directly to the database server. Does your application use ADS to query the database? No, it would (assuming no ORM or the like sitting on top) use ADO.NET. That is how you connect to a database server and execute SQL code. It doesn't matter what that SQL code is, includingit will use an sql script to create one in Azure Data Studio.
CREATE DATABASE
statements.Process.Start
. I'm not exactly sure what the requirements for OSQL are but if you have a local SQL Server instance then I would assume that you have OSQL.