Beispiel #1
0
        private void _export(ServerType mode, string subPath, FileType fileType = FileType.Detect)
        {
            string path;

            try {
                path = fileType == FileType.Sql ? PathRequest.FolderExtractSql() : PathRequest.FolderExtractDb();

                if (path != null)
                {
                    _asyncOperation.SetAndRunOperation(new GrfThread(() => _internalExport(mode, path, subPath, fileType), this, 200, null, false, true));
                }
            }
            catch (Exception err) {
                ErrorHandler.HandleException(err);
            }
        }