dotConnect for MySQL Documentation
Devart.Data.MySql Namespace / MySqlConnection Class / Kill Method
Connection to terminate.

In This Topic
    Kill Method
    In This Topic
    Terminates given connection to server.
    Syntax
    'Declaration
     
    Public Sub Kill( _
       ByVal connection As MySqlConnection _
    ) 
    public void Kill( 
       MySqlConnection connection
    )

    Parameters

    connection
    Connection to terminate.
    Remarks
    Use Kill to stop asynchronous execution in another connection. To successfully execute the task you must connect to the same server and have all required privileges.
    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