Add(Microsoft.SharePoint.Portal.Topology.Database) Method

The Add method of the DatabaseCollection class adds the specified Database object to the collection.


database A Microsoft.SharePoint.Portal.Topology.Database object.

Return Value

The Microsoft.SharePoint.Portal.Topology.Database added to the collection.


The Add method calls the proc_putDatabase stored procedure to add the Database instance to the Databases table, by populating the columns of a new record with the properties of the database argument.


Platforms: Microsoft Windows Server 2003

Security: Code Access Security