Freigeben über


SearchService.CreateApplication-Methode (String, SPDatabaseParameters, SPDatabaseParameters, SPDatabaseParameters, SPIisWebServiceApplicationPool, SPIisWebServiceApplicationPool)

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, _
    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 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, _
    adminDBParameters, propertyStoreDBParameters, _
    crawlStoreDBParameters, applicationPool, _
    adminApplicationPool)
public SearchServiceApplication CreateApplication(
    string name,
    SPDatabaseParameters adminDBParameters,
    SPDatabaseParameters propertyStoreDBParameters,
    SPDatabaseParameters crawlStoreDBParameters,
    SPIisWebServiceApplicationPool applicationPool,
    SPIisWebServiceApplicationPool adminApplicationPool
)

Parameter

Rückgabewert

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

Siehe auch

Referenz

SearchService Klasse

SearchService-Member

CreateApplication-Überladung

Microsoft.Office.Server.Search.Administration-Namespace