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

'宣言
Protected Overrides Function CreateService ( _
    container As IServiceContainer, _
    serviceType As Type _
) As Object
'使用
Dim container As IServiceContainer
Dim serviceType As Type
Dim returnValue As Object

returnValue = Me.CreateService(container, _
    serviceType)
protected override Object CreateService(
    IServiceContainer container,
    Type serviceType
)
protected:
virtual Object^ CreateService(
    IServiceContainer^ container, 
    Type^ serviceType
) override
protected override function CreateService(
    container : IServiceContainer, 
    serviceType : Type
) : Object

Parameters

Return Value

Type: System.Object

The service object.

Permissions

See Also

Reference

AdoDotNetConnectionSupport Class

AdoDotNetConnectionSupport Members

Microsoft.VisualStudio.Data.Framework.AdoDotNet Namespace