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.
請參閱
工作
How to: Create, Alter, and Remove a Database in Visual Basic .NET