Share via


IServiceProvider.GetService Method

Namespace:  System.Data.SqlServerCe
Assembly:  System.Data.SqlServerCe (in System.Data.SqlServerCe.dll)

Syntax

'Declaration
Private Function GetService ( _
    serviceType As Type _
) As Object Implements IServiceProvider.GetService
'Usage
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 
JScript supports the use of explicit interface implementations, but not the declarations of new ones.

Parameters

Return Value

Type: System. . :: . .Object

Implements

IServiceProvider. . :: . .GetService(Type)

See Also

Reference

SqlCeProviderFactory Class

SqlCeProviderFactory Members

System.Data.SqlServerCe Namespace