GetFactory Method (DataRow)
Collapse the table of content
Expand the table of content

DbProviderFactories.GetFactory Method (DataRow)

 

Returns an instance of a DbProviderFactory.

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

public static DbProviderFactory GetFactory(
	DataRow providerRow
)

Parameters

providerRow
Type: System.Data.DataRow

DataRow containing the provider's configuration information.

Return Value

Type: System.Data.Common.DbProviderFactory

An instance of a DbProviderFactory for a specified DataRow.

The providerRow parameter corresponds to the DataRow of a table returned by GetFactoryClasses.

.NET Framework
Available since 2.0
Return to top
Show:
© 2016 Microsoft