Share via


AdoDotNetConnectionSupport.CreateService Method

Creates a new service object based on the specified interface service type.

Namespace:  Microsoft.VisualStudio.Data.Framework.AdoDotNet
Assembly:  Microsoft.VisualStudio.Data.Framework (in Microsoft.VisualStudio.Data.Framework.dll)

Syntax

'Declaration
Protected Overrides Function CreateService ( _
    container As IServiceContainer, _
    serviceType As Type _
) As Object
protected override Object CreateService(
    IServiceContainer container,
    Type serviceType
)
protected:
virtual Object^ CreateService(
    IServiceContainer^ container, 
    Type^ serviceType
) override
abstract CreateService : 
        container:IServiceContainer * 
        serviceType:Type -> Object  
override CreateService : 
        container:IServiceContainer * 
        serviceType:Type -> Object
protected override function CreateService(
    container : IServiceContainer, 
    serviceType : Type
) : Object

Parameters

Return Value

Type: System.Object
The service object.

.NET Framework Security

See Also

Reference

AdoDotNetConnectionSupport Class

Microsoft.VisualStudio.Data.Framework.AdoDotNet Namespace