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
- name
Type: System.String
- adminDBParameters
Type: Microsoft.SharePoint.Administration.SPDatabaseParameters
- adminComponentInstance
Type: Microsoft.Office.Server.Search.Administration.SearchServiceInstance
- applicationPool
Type: Microsoft.SharePoint.Administration.SPIisWebServiceApplicationPool
- adminApplicationPool
Type: Microsoft.SharePoint.Administration.SPIisWebServiceApplicationPool
Return Value
Type: Microsoft.Office.Server.Search.Administration.SearchServiceApplication