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
)
public static DbProviderFactory GetFactory (
	DataRow providerRow
)
public static function GetFactory (
	providerRow : DataRow
) : DbProviderFactory
Not applicable.

Parameters

providerRow

DataRow containing the provider's configuration information.

Return Value

An instance of a DbProviderFactory for a specified DataRow.

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

Windows 98, Windows Server 2000 SP4, Windows Millennium Edition, Windows Server 2003, Windows XP Media Center Edition, Windows XP Professional x64 Edition, Windows XP SP2, Windows XP Starter Edition

The Microsoft .NET Framework 3.0 is supported on Windows Vista, Microsoft Windows XP SP2, and Windows Server 2003 SP1.

.NET Framework

Supported in: 3.0, 2.0

Community Additions

ADD
Show: