SPContentDatabaseCollection.Add method (SPContentDatabase)

Adds a content database to the collection of databases that are used by the parent Web application.

Namespace:  Microsoft.SharePoint.Administration
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)

Syntax

'Declaration
Public Sub Add ( _
    database As SPContentDatabase _
)
'Usage
Dim instance As SPContentDatabaseCollection
Dim database As SPContentDatabase

instance.Add(database)
public void Add(
    SPContentDatabase database
)

Parameters

See also

Reference

SPContentDatabaseCollection class

SPContentDatabaseCollection members

Add overload

Microsoft.SharePoint.Administration namespace