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()
See Also