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)

public void Add(
	SPContentDatabase database
)

Parameters

database
Type: Microsoft.SharePoint.Administration.SPContentDatabase

An SPContentDatabase object that represents the content database to add.

Show: