dotConnect Universal Documentation
Devart.Data.Universal Namespace / ProviderManager Class / GetProviderNames Method / GetProviderNames() Method
Example

GetProviderNames() Method
Returns a list of the registered providers names.
Syntax
'Declaration
 
Public Overloads Shared Function GetProviderNames() As ArrayList
 

Return Value

A list of the names of registered providers.
Remarks

The items in the list returned by GetProviderNames can be used in Provider parameter of ConnectionString.

The names of most popular data providers are enumerated in the Supported Providers topic.

Example
The example shows how to populate an ArrayList variable with list of providers you can use.
ArrayList providerNamesList = ProviderManager.GetProviderNames();
Dim providerNamesList As ArrayList = ProviderManager.GetProviderNames()
Requirements

Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also