CreateProvider() Method
Creates a new instance of a DbProvider object from the default configured provider
Syntax
'Declaration
Public Overloads Shared Function CreateProvider() As DbProvider
public static DbProvider CreateProvider()
Return Value
A new DbProvider instance for the configured default alias
Remarks
It is not necessary to create a new instance of the default DbProvider every time it is used. Instead, see the Provider property to get a reference to the common instance of the default DbProvider.
Requirements
Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server family
Reference
DbProviderFactory Class
DbProviderFactory Members
Overload List