Share via


SearchService.RestoreApplication Method (String, TopologySettings, SPIisWebServiceApplicationPool, SPIisWebServiceApplicationPool, Boolean)

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, _
    ts As TopologySettings, _
    applicationPool As SPIisWebServiceApplicationPool, _
    adminApplicationPool As SPIisWebServiceApplicationPool, _
    keepId As Boolean _
) As SearchServiceApplication
'Usage
Dim instance As SearchService
Dim name As String
Dim ts As TopologySettings
Dim applicationPool As SPIisWebServiceApplicationPool
Dim adminApplicationPool As SPIisWebServiceApplicationPool
Dim keepId As Boolean
Dim returnValue As SearchServiceApplication

returnValue = instance.RestoreApplication(name, _
    ts, applicationPool, adminApplicationPool, _
    keepId)
public SearchServiceApplication RestoreApplication(
    string name,
    TopologySettings ts,
    SPIisWebServiceApplicationPool applicationPool,
    SPIisWebServiceApplicationPool adminApplicationPool,
    bool keepId
)

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