VB Code Sample



Imports OpenLink.Data.**********

Module Module1

    Sub Main()

        Dim connectionString As String = "**********"
        Using connection As New OPLConnection(connectionString)
            connection.Open()
        End Using

    End Sub

End Module


OpenLink.Data.Sybase

Provider: Imports OpenLink.Data.Sybase;
Connection String: "Host=<hostname>;Port=<port>;DATABASE=<database>;UID=<username>;PWD=<password>;"


OpenLink.Data.SQLServer

Provider: Imports OpenLink.Data.SQLServer;
Connection String: "Host=<hostname>;Port=<port>;DATABASE=<database>;UID=<username>;PWD=<password>;"


OpenLink.Data.ODBCClient

Provider: Imports OpenLink.Data.OdbcClient;
Connection String: "DSN=<odbc_dsn>;UID=<username>;PWD=<password>;"


OpenLink.Data.GenericClient

Provider: Imports OpenLink.Data.GenericClient;
Connection String: "Host=<hostname>;Port=<port>;SVT=<server_type>;DATABASE=<database>;UID=<username>;PWD=<password>;OPTIONS=<connection_options"