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
- siteSubscription
Type: Microsoft.SharePoint.SPSiteSubscription
- useHostHeaderAsSiteName
Type: System.Boolean
- siteUri
Type: System.Uri
Return value
Type: Microsoft.SharePoint.Administration.SPContentDatabase