Share via


SearchService.CreateApplication Method

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

Syntax

'Declaration
Public Function CreateApplication ( _
    name As String, _
    applicationType As SearchServiceApplicationType, _
    adminDBParameters As SPDatabaseParameters, _
    propertyStoreDBParameters As SPDatabaseParameters, _
    crawlStoreDBParameters As SPDatabaseParameters, _
    applicationPool As SPIisWebServiceApplicationPool, _
    adminApplicationPool As SPIisWebServiceApplicationPool _
) As SearchServiceApplication
'Usage
Dim instance As SearchService
Dim name As String
Dim applicationType As SearchServiceApplicationType
Dim adminDBParameters As SPDatabaseParameters
Dim propertyStoreDBParameters As SPDatabaseParameters
Dim crawlStoreDBParameters As SPDatabaseParameters
Dim applicationPool As SPIisWebServiceApplicationPool
Dim adminApplicationPool As SPIisWebServiceApplicationPool
Dim returnValue As SearchServiceApplication

returnValue = instance.CreateApplication(name, _
    applicationType, adminDBParameters, _
    propertyStoreDBParameters, crawlStoreDBParameters, _
    applicationPool, adminApplicationPool)
public SearchServiceApplication CreateApplication(
    string name,
    SearchServiceApplicationType applicationType,
    SPDatabaseParameters adminDBParameters,
    SPDatabaseParameters propertyStoreDBParameters,
    SPDatabaseParameters crawlStoreDBParameters,
    SPIisWebServiceApplicationPool applicationPool,
    SPIisWebServiceApplicationPool adminApplicationPool
)

Parameters

Return Value

Type: Microsoft.Office.Server.Search.Administration.SearchServiceApplication

See Also

Reference

SearchService Class

SearchService Members

Microsoft.Office.Server.Search.Administration Namespace