Método IServiceProvider.GetService
Namespace: System.Data.SqlServerCe
Assembly: System.Data.SqlServerCe (em System.Data.SqlServerCe.dll)
Sintaxe
'Declaração
Private Function GetService ( _
serviceType As Type _
) As Object Implements IServiceProvider.GetService
'Uso
Dim instance As SqlCeProviderFactory
Dim serviceType As Type
Dim returnValue As Object
returnValue = CType(instance, IServiceProvider).GetService(serviceType)
Object IServiceProvider.GetService(
Type serviceType
)
private:
virtual Object^ GetService(
Type^ serviceType
) sealed = IServiceProvider::GetService
private abstract GetService :
serviceType:Type -> Object
private override GetService :
serviceType:Type -> Object
O JScript dá suporte ao uso de implementações de interface explícitas, mas não à declaração de novas.
Parâmetros
- serviceType
Tipo: System. . :: . .Type
Valor de retorno
Tipo: System. . :: . .Object
Implementa
IServiceProvider. . :: . .GetService(Type)