dotConnect for SQL Server Documentation
Devart.Data.SqlServer Namespace / SqlConnectionStringBuilder Class / SqlConnectionStringBuilder Constructor / SqlConnectionStringBuilder Constructor(String)
Initial connection setup string.

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

    Parameters

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