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.150 -- Release Build+539c8e20daab1f37d91aaa1ede2f080b59c0c784
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