다음을 통해 공유


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

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