DatabaseCollection.Add Method

Adds an database object to the collection.

Namespace:  Microsoft.SqlServer.Management.Smo
Assembly:  Microsoft.SqlServer.Smo (in Microsoft.SqlServer.Smo.dll)

Syntax

'Declaration
Public Sub Add ( _
    database As Database _
)
'Usage
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
)

Parameters