Partager via


SearchService.RestoreApplication Method (String, SPDatabaseParameters, SearchServiceInstance, SPIisWebServiceApplicationPool, SPIisWebServiceApplicationPool)

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

Syntax

'Declaration
Public Function RestoreApplication ( _
    name As String, _
    adminDBParameters As SPDatabaseParameters, _
    adminComponentInstance As SearchServiceInstance, _
    applicationPool As SPIisWebServiceApplicationPool, _
    adminApplicationPool As SPIisWebServiceApplicationPool _
) As SearchServiceApplication
'Usage
Dim instance As SearchService
Dim name As String
Dim adminDBParameters As SPDatabaseParameters
Dim adminComponentInstance As SearchServiceInstance
Dim applicationPool As SPIisWebServiceApplicationPool
Dim adminApplicationPool As SPIisWebServiceApplicationPool
Dim returnValue As SearchServiceApplication

returnValue = instance.RestoreApplication(name, _
    adminDBParameters, adminComponentInstance, _
    applicationPool, adminApplicationPool)
public SearchServiceApplication RestoreApplication(
    string name,
    SPDatabaseParameters adminDBParameters,
    SearchServiceInstance adminComponentInstance,
    SPIisWebServiceApplicationPool applicationPool,
    SPIisWebServiceApplicationPool adminApplicationPool
)

Parameters

Return Value

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

See Also

Reference

SearchService Class

SearchService Members

RestoreApplication Overload

Microsoft.Office.Server.Search.Administration Namespace