Partager via


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

  • dedicated
    Type: System.Boolean

    true if a dedicated crawl database should be created; otherwise, false.

Return Value

Type: Microsoft.Office.Server.Search.Administration.CrawlStore
The new crawl database.

See Also

Reference

CrawlStoreCollection Class

CrawlStoreCollection Members

Create Overload

Microsoft.Office.Server.Search.Administration Namespace