Partager via


SearchService.CreateApplication - Méthode (String, SPDatabaseParameters, SPDatabaseParameters, SPDatabaseParameters, SPIisWebServiceApplicationPool, SPIisWebServiceApplicationPool)

Espace de noms :  Microsoft.Office.Server.Search.Administration
Assembly :  Microsoft.Office.Server.Search (dans Microsoft.Office.Server.Search.dll)

Syntaxe

'Déclaration
Public Function CreateApplication ( _
    name As String, _
    adminDBParameters As SPDatabaseParameters, _
    propertyStoreDBParameters As SPDatabaseParameters, _
    crawlStoreDBParameters As SPDatabaseParameters, _
    applicationPool As SPIisWebServiceApplicationPool, _
    adminApplicationPool As SPIisWebServiceApplicationPool _
) As SearchServiceApplication
'Utilisation
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
)

Paramètres

Valeur renvoyée

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

Voir aussi

Référence

SearchService classe

SearchService - Membres

CreateApplication - Surcharge

Microsoft.Office.Server.Search.Administration - Espace de noms