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.143 -- Release Build+e39ee60a4b307fea0c37636ce689adb1b037d737
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