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

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

    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