SMO with SqlExpress
This is just something that I found in SMO using a SqlExpress database. When I perform a restore, I need to set the .ReplaceDatabase option to true if I want to overwrite the database that I am replacing. Sounds obvious, but I missed it on first pass.