EntityProviderFactory.IServiceProvider.GetService(Type) Método

Definição

Devolve a aula solicitada IServiceProvider .

 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 regresso.

Devoluções

Uma nova instância de IServiceProvider. Os tipos suportados são DbProviderServices e System.Data.IEntityAdapter. Devolve nulo (ou Nothing em Visual Basic) para todos os outros tipos.

Implementações

Aplica-se a