Expand All
The document is archived and information here might be outdated

Creating, Altering, and Removing Databases

In SMO, a database is represented by the Database object.

It is not necessary to create a Database object to modify or remove it. The database can be referenced by using a collection.

© 2016 Microsoft