Windows apps
Collapse the table of content
Expand the table of content
Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

SqlClientFactory::IServiceProvider::GetService Method (Type^)

 

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

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

private:
virtual Object^ GetService(
	Type^ serviceType
) sealed = IServiceProvider::GetService

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:
© 2017 Microsoft