Share via


SearchPropertyStoreDatabase.CreateInstance Method (SPFarm, SPDatabaseParameters, SPDatabaseValidation)

Creates an instance of the SearchPropertyStoreDatabase class.

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

Syntax

'Declaration
Public Shared Function CreateInstance ( _
    farm As SPFarm, _
    databaseParameters As SPDatabaseParameters, _
    validationParameters As SPDatabaseValidation _
) As SearchPropertyStoreDatabase
'Usage
Dim farm As SPFarm
Dim databaseParameters As SPDatabaseParameters
Dim validationParameters As SPDatabaseValidation
Dim returnValue As SearchPropertyStoreDatabase

returnValue = SearchPropertyStoreDatabase.CreateInstance(farm, _
    databaseParameters, validationParameters)
public static SearchPropertyStoreDatabase CreateInstance(
    SPFarm farm,
    SPDatabaseParameters databaseParameters,
    SPDatabaseValidation validationParameters
)

Parameters

Return Value

Type: Microsoft.Office.Server.Search.Administration.SearchPropertyStoreDatabase
The newly created instance.

Remarks

This method gets an instance by creating a new instance or by attaching to an existing instance in the configuration database.

See Also

Reference

SearchPropertyStoreDatabase Class

SearchPropertyStoreDatabase Members

CreateInstance Overload

Microsoft.Office.Server.Search.Administration Namespace