Compartilhar 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