dotConnect for MySQL Documentation
Devart.Data.MySql Namespace / MySqlConnection Class / Embedded Property

In This Topic
    Embedded Property (MySqlConnection)
    In This Topic
    Specifies, what server will be used to connect - MySQL server or Embedded MySQL server.
    Syntax
    'Declaration
     
    Public Property Embedded As Boolean
    public bool Embedded {get; set;}

    Property Value

    true, if Embedded MySQL server is used, false for MySQL server. The default value is false.
    Remarks
    You can use embedded server to ship the DBMS with your application and thus make your software more independent of target machine. However, this process is rather compound and is not recommended.

    You can read about features and using Embedded server at "Using Embedded Server" article.

    When a value is assigned to this property, the MySqlConnection is closed.

    When Embedded property is true, Direct property is ignored. You do not have to specify Host parameter for when working with Embedded server.

    Embedded is not available under Compact Framework.

    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