Compartilhar via


Método Add

Adds an database object to the collection.

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

Sintaxe

'Declaração
Public Sub Add ( _
    database As Database _
)
'Uso
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
)