Gemstone Data Library
Show/Hide TOC

# AdoDataConnectionToDataProviderString Method

Generates a data provider string for the given connection type.

## Definition

Namespace: Gemstone.Data
Assembly: Gemstone.Data (in Gemstone.Data.dll) Version: 1.0.156 -- Release Build+dcdaaebc8db0d076f561458ac184e317c7d68401
C#
View Source Request Example

    public static string ToDataProviderString(
    	Type connectionType
    )

VB
View Source Request Example

    Public Shared Function ToDataProviderString (
    	connectionType As Type
    ) As String

C++
View Source Request Example

    public:
    static String^ ToDataProviderString(
    	Type^ connectionType
    )

JavaScript
View Source Request Example

    Gemstone.Data.AdoDataConnection.ToDataProviderString = function(connectionType);

#### Parameters

connectionType Type
  The type used to establish a connection to the database.

#### Return Value

String
The data provider string for the given connection type.

## See Also

#### Reference

AdoDataConnection Class
Gemstone.Data Namespace