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
database
Type: Microsoft.SharePoint.Administration.SPContentDatabaseAn SPContentDatabase object that represents the content database to add.
See also
Reference
SPContentDatabaseCollection class