dotConnect for PostgreSQL Documentation
Devart.Data.PostgreSql Namespace / PgSqlConnectionStringBuilder Class / PgSqlConnectionStringBuilder Constructor / PgSqlConnectionStringBuilder Constructor(String)
Initial connection setup string.

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

    Parameters

    connectionString
    Initial connection setup string.
    Remarks
    When a new instance of PgSqlConnectionStringBuilder 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 ("")
    ConnectionTimeout 15
    Password empty string ("")
    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