BdcService.CreateApplication Method (String, Type, SPIisWebServiceApplicationPool)
Creates a service application with the given name using the provided application pool.
Namespace: Microsoft.SharePoint.BusinessData.SharedService
Assembly: Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Syntax
'Declaration
Public Function CreateApplication ( _
name As String, _
serviceApplicationType As Type, _
applicationPool As SPIisWebServiceApplicationPool _
) As SPServiceApplication
'Usage
Dim instance As BdcService
Dim name As String
Dim serviceApplicationType As Type
Dim applicationPool As SPIisWebServiceApplicationPool
Dim returnValue As SPServiceApplication
returnValue = instance.CreateApplication(name, _
serviceApplicationType, applicationPool)
public SPServiceApplication CreateApplication(
string name,
Type serviceApplicationType,
SPIisWebServiceApplicationPool applicationPool
)
Parameters
name
Type: System.StringThe name of the service application.
serviceApplicationType
Type: System.TypeThe type of application, which must be BdcServiceApplication.
applicationPool
Type: Microsoft.SharePoint.Administration.SPIisWebServiceApplicationPoolThe pool which runs the service application.
Return Value
Type: Microsoft.SharePoint.Administration.SPServiceApplication
Returns SPServiceApplication.