Partilhar via


Método AdoDotNetConnectionSupport.CreateService

Cria um novo objeto de serviço com o tipo de serviço especificado da interface.

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

Sintaxe

'Declaração
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

Parâmetros

Valor de retorno

Tipo: System.Object
O objeto de serviço.

Segurança do .NET Framework

Consulte também

Referência

AdoDotNetConnectionSupport Classe

Namespace Microsoft.VisualStudio.Data.Framework.AdoDotNet