SearchService.CreateApplication Method
Namespace: Microsoft.Office.Server.Search.Administration
Assembly: Microsoft.Office.Server.Search (in Microsoft.Office.Server.Search.dll)
Syntax
'Declaration
Public Function CreateApplication ( _
name As String, _
applicationType As SearchServiceApplicationType, _
adminDBParameters As SPDatabaseParameters, _
propertyStoreDBParameters As SPDatabaseParameters, _
crawlStoreDBParameters As SPDatabaseParameters, _
applicationPool As SPIisWebServiceApplicationPool, _
adminApplicationPool As SPIisWebServiceApplicationPool _
) As SearchServiceApplication
'Usage
Dim instance As SearchService
Dim name As String
Dim applicationType As SearchServiceApplicationType
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, _
applicationType, adminDBParameters, _
propertyStoreDBParameters, crawlStoreDBParameters, _
applicationPool, adminApplicationPool)
public SearchServiceApplication CreateApplication(
string name,
SearchServiceApplicationType applicationType,
SPDatabaseParameters adminDBParameters,
SPDatabaseParameters propertyStoreDBParameters,
SPDatabaseParameters crawlStoreDBParameters,
SPIisWebServiceApplicationPool applicationPool,
SPIisWebServiceApplicationPool adminApplicationPool
)
Parameters
- name
Type: System.String
- applicationType
Type: Microsoft.Office.Server.Search.Administration.SearchServiceApplicationType
- adminDBParameters
Type: Microsoft.SharePoint.Administration.SPDatabaseParameters
- propertyStoreDBParameters
Type: Microsoft.SharePoint.Administration.SPDatabaseParameters
- crawlStoreDBParameters
Type: Microsoft.SharePoint.Administration.SPDatabaseParameters
- applicationPool
Type: Microsoft.SharePoint.Administration.SPIisWebServiceApplicationPool
- adminApplicationPool
Type: Microsoft.SharePoint.Administration.SPIisWebServiceApplicationPool
Return Value
Type: Microsoft.Office.Server.Search.Administration.SearchServiceApplication