Determines whether to export functions, procedures, and views together with tables.
This property is obsolete. Use ObjectTypes property instead.
public void DumpAll(MySqlConnection myConnection) { myConnection.Unicode = true; myConnection.Open(); MySqlDump mySqlDump = new MySqlDump(); mySqlDump.Connection = myConnection; mySqlDump.Database = "Test"; mySqlDump.ExportAll = true; mySqlDump.Backup("d:\\tmp\\mydump.dmp"); myConnection.Close(); Console.WriteLine("Dumped."); }
Public Sub DumpAll(ByVal myConnection As MySqlConnection) myConnection.Unicode = True myConnection.Open() Dim mySqlDump As New MySqlDump mySqlDump.Connection = myConnection mySqlDump.Database = "Test" mySqlDump.ExportAll = True mySqlDump.Backup("d:\tmp\mydump.dmp") myConnection.Close() Console.WriteLine("Dumped.") End Sub
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