SqlClientFactory.IServiceProvider.GetService Method (Type)

 
System_CAPS_noteNote

The .NET API Reference documentation has a new home. Visit the .NET API Browser on docs.microsoft.com to see the new experience.

For a description of this member, see IServiceProvider.GetService.

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

object IServiceProvider.GetService(
	Type serviceType
)

Parameters

serviceType
Type: System.Type

An object that specifies the type of service object to get.

Return Value

Type: System.Object

A service object.

.NET Framework
Available since 2.0
Return to top
Show: