Creates a new SQL Server Express LocalDB instance.
Header file: sqlncli.h
If a fully functional LocalDB instance with the specified name already exists and its version is equal to or higher than requested, the result is S_OK.
In cases when an existing instance becomes corrupted, subsequent calls to the LocalDBCreateInstance API method will fail. Corrupted instances must be fixed manually or explicitly deleted before they can be used again.
For a code sample that uses LocalDB API, see SQL Server Express LocalDB Reference.