EntityProviderFactory.IServiceProvider.GetService(Type) Método

Definição

Retorna a classe IServiceProvider solicitada.Returns the requested IServiceProvider class.

 virtual System::Object ^ System.IServiceProvider.GetService(Type ^ serviceType) = IServiceProvider::GetService;
object IServiceProvider.GetService (Type serviceType);
abstract member System.IServiceProvider.GetService : Type -> obj
override this.System.IServiceProvider.GetService : Type -> obj
Function GetService (serviceType As Type) As Object Implements IServiceProvider.GetService

Parâmetros

serviceType
Type

O Type a ser retornado.The Type to return.

Retornos

Object

Uma nova instância de IServiceProvider.A new instance of IServiceProvider. Os tipos com suporte são DbProviderServices e System.Data.IEntityAdapter.The supported types are DbProviderServices and System.Data.IEntityAdapter. Retorna nulo (ou Nothing no Visual Basic) para todos os outros tipos.Returns null (or Nothing in Visual Basic) for every other type.

Implementações

Aplica-se a