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.138 -- Release Build+f7ceb3e02ea3c92b27e86b99ae16cee337a20b9e
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