dotConnect for DB2 Documentation
Devart.Data.DB2 Namespace / DB2ConnectionStringBuilder Class / DB2ConnectionStringBuilder Constructor / DB2ConnectionStringBuilder Constructor(String)
Initial connection setup string.

In This Topic
    DB2ConnectionStringBuilder Constructor(String)
    In This Topic
    Initializes a new instance of the DB2ConnectionStringBuilder class and assigns custom initial values to some properties.
    Syntax
    'Declaration
     
    Public Function New( _
       ByVal connectionString As String _
    )
    public DB2ConnectionStringBuilder( 
       string connectionString
    )

    Parameters

    connectionString
    Initial connection setup string.
    Remarks
    When a new instance of DB2ConnectionStringBuilder is created, its properties are set to the following initial values unless they are specifically set using their associated keywords in the connectionString parameter.
    Properties Initial Value
    System.Data.Common.DbConnectionStringBuilder.ConnectionString empty string ("")
    Devart.Data.DB2.DB2ConnectionStringBuilder.ConnectionTimeout 15
    Password empty string ("")
    Devart.Data.DB2.DB2ConnectionStringBuilder.UserId empty string ("")
    If the connectionString parameter can not be parsed, an exception is thrown and the object is not created.
    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