SPSiteCollection.GetContentDatabaseForSiteCreation method

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

Syntax

'Declaration
Public Function GetContentDatabaseForSiteCreation ( _
    siteSubscription As SPSiteSubscription, _
    useHostHeaderAsSiteName As Boolean, _
    siteUri As Uri _
) As SPContentDatabase
'Usage
Dim instance As SPSiteCollection
Dim siteSubscription As SPSiteSubscription
Dim useHostHeaderAsSiteName As Boolean
Dim siteUri As Uri
Dim returnValue As SPContentDatabase

returnValue = instance.GetContentDatabaseForSiteCreation(siteSubscription, _
    useHostHeaderAsSiteName, siteUri)
public SPContentDatabase GetContentDatabaseForSiteCreation(
    SPSiteSubscription siteSubscription,
    bool useHostHeaderAsSiteName,
    Uri siteUri
)

Parameters

Return value

Type: Microsoft.SharePoint.Administration.SPContentDatabase

See also

Reference

SPSiteCollection class

SPSiteCollection members

Microsoft.SharePoint.Administration namespace