Partilhar via


CrawlStoreCollection.Create Method (SearchGathererDatabase, Boolean)

Adds a new crawl database, to the crawl database collection for the Search service application, and specifies whether the crawl database should be dedicated.

Namespace:  Microsoft.Office.Server.Search.Administration
Assembly:  Microsoft.Office.Server.Search (in Microsoft.Office.Server.Search.dll)

Syntax

'Declaration
Public Function Create ( _
    db As SearchGathererDatabase, _
    dedicated As Boolean _
) As CrawlStore
'Usage
Dim instance As CrawlStoreCollection
Dim db As SearchGathererDatabase
Dim dedicated As Boolean
Dim returnValue As CrawlStore

returnValue = instance.Create(db, dedicated)
public CrawlStore Create(
    SearchGathererDatabase db,
    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