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