DatabaseCollection.Add 方法
Adds an database object to the collection.
命名空間: Microsoft.SqlServer.Management.Smo
組件: Microsoft.SqlServer.Smo (在 Microsoft.SqlServer.Smo.dll 中)
語法
'宣告
Public Sub Add ( _
database As Database _
)
'用途
Dim instance As DatabaseCollection
Dim database As Database
instance.Add(database)
public void Add(
Database database
)
public:
void Add(
Database^ database
)
member Add :
database:Database -> unit
public function Add(
database : Database
)
參數
- database
型別:Microsoft.SqlServer.Management.Smo.Database
Database object