Share via


BdcService.CreateApplication method (String, Type, SPServiceProvisioningContext)

Creates a service application with the given name using the application pool of the provided provisioning context.

Namespace:  Microsoft.SharePoint.BusinessData.SharedService
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)

Syntax

'Declaration
Public Function CreateApplication ( _
    name As String, _
    serviceApplicationType As Type, _
    provisioningContext As SPServiceProvisioningContext _
) As SPServiceApplication
'Usage
Dim instance As BdcService
Dim name As String
Dim serviceApplicationType As Type
Dim provisioningContext As SPServiceProvisioningContext
Dim returnValue As SPServiceApplication

returnValue = instance.CreateApplication(name, _
    serviceApplicationType, provisioningContext)
public SPServiceApplication CreateApplication(
    string name,
    Type serviceApplicationType,
    SPServiceProvisioningContext provisioningContext
)

Parameters

Return value

Type: Microsoft.SharePoint.Administration.SPServiceApplication
A new BdcServiceApplication.

Remarks

This method supports only BdcServiceApplication objects.

See also

Reference

BdcService class

BdcService members

CreateApplication overload

Microsoft.SharePoint.BusinessData.SharedService namespace