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)
Available in Sandboxed Solutions: No

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