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.158 -- Release Build+a7370acff9f7a1e0ca1927f709880b2a82e0bdf0
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