dotConnect for Oracle Documentation
Devart.Data.Oracle Namespace / OracleConnection Class / OracleConnection Constructor / OracleConnection Constructor(String,OracleCredential)
A connection string without credentials.
An OracleCredential object with Oracle user credentials.

In This Topic
    OracleConnection Constructor(String,OracleCredential)
    In This Topic
    Initializes a new instance of OracleConnection class, using OracleCredential - a class which stores credentials of the Oracle user in a more secure way than a usual System.String.
    Syntax
    'Declaration
     
    Public Function New( _
       ByVal connectionString As String, _
       ByVal credential As OracleCredential _
    )
    public OracleConnection( 
       string connectionString,
       OracleCredential credential
    )

    Parameters

    connectionString
    A connection string without credentials.
    credential
    An OracleCredential object with Oracle user credentials.
    Remarks
    Requirements

    Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

    See Also