CrawlStoreCollection.Create Method (SPDatabaseParameters, Boolean)
Creates a new crawl database with the specified database parameters.
Namespace: Microsoft.Office.Server.Search.Administration
Assembly: Microsoft.Office.Server.Search (in Microsoft.Office.Server.Search.dll)
Syntax
'Declaration
Public Function Create ( _
databaseParameters As SPDatabaseParameters, _
dedicated As Boolean _
) As CrawlStore
'Usage
Dim instance As CrawlStoreCollection
Dim databaseParameters As SPDatabaseParameters
Dim dedicated As Boolean
Dim returnValue As CrawlStore
returnValue = instance.Create(databaseParameters, _
dedicated)
public CrawlStore Create(
SPDatabaseParameters databaseParameters,
bool dedicated
)
Parameters
databaseParameters
Type: Microsoft.SharePoint.Administration.SPDatabaseParametersThe parameters for the new crawl database.
dedicated
Type: System.Booleantrue if a dedicated crawl database should be created; otherwise, false.
Return Value
Type: Microsoft.Office.Server.Search.Administration.CrawlStore
The new crawl database.