Creating a database programmatically in SQL Server

c#, database, sql-server

Solution

Create database 'Databasename'

Problem

How can I create a database programmatically and what is the minimum information I need to do this? Please no "SQL Server Management Object API " suggestions.

Original source

Related problems