DatabaseCollection.Add(Database) DatabaseCollection.Add(Database) Method

Definition

Adds an database object to the collection.

public:
 void Add(Microsoft::SqlServer::Management::Smo::Database ^ database);
public void Add (Microsoft.SqlServer.Management.Smo.Database database);
Parameters
database
Database Database

Database object

Examples

Using Collections

Applies to