Partager via


SearchService.RestoreApplication - Méthode (String, , SPIisWebServiceApplicationPool, Boolean)

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

Syntaxe

'Déclaration
Public Function RestoreApplication ( _
    name As String, _
    topologySettings As SearchTopologySettings, _
    applicationPool As SPIisWebServiceApplicationPool, _
    keepId As Boolean _
) As SearchServiceApplication
'Utilisation
Dim instance As SearchService
Dim name As String
Dim topologySettings As SearchTopologySettings
Dim applicationPool As SPIisWebServiceApplicationPool
Dim keepId As Boolean
Dim returnValue As SearchServiceApplication

returnValue = instance.RestoreApplication(name, _
    topologySettings, applicationPool, _
    keepId)
public SearchServiceApplication RestoreApplication(
    string name,
    SearchTopologySettings topologySettings,
    SPIisWebServiceApplicationPool applicationPool,
    bool keepId
)

Paramètres

  • topologySettings
    Type : SearchTopologySettings

Valeur renvoyée

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

Voir aussi

Référence

SearchService classe

SearchService - Membres

RestoreApplication - Surcharge

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