Share via


SPSiteCreationProvider.SelectContentDatabases method

Select the set of content databases that can be used to create a site collection.

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

Syntax

'Declaration
Public MustOverride Function SelectContentDatabases ( _
    creationParameters As SPSiteCreationParameters, _
    contentDatabases As IEnumerable(Of SPContentDatabase) _
) As IEnumerable(Of SPContentDatabase)
'Usage
Dim instance As SPSiteCreationProvider
Dim creationParameters As SPSiteCreationParameters
Dim contentDatabases As IEnumerable(Of SPContentDatabase)
Dim returnValue As IEnumerable(Of SPContentDatabase)

returnValue = instance.SelectContentDatabases(creationParameters, _
    contentDatabases)
public abstract IEnumerable<SPContentDatabase> SelectContentDatabases(
    SPSiteCreationParameters creationParameters,
    IEnumerable<SPContentDatabase> contentDatabases
)

Parameters

Return value

Type: System.Collections.Generic.IEnumerable<SPContentDatabase>
A IEnumerable<T> object.

See also

Reference

SPSiteCreationProvider class

SPSiteCreationProvider members

Microsoft.SharePoint.Administration namespace