Function backup_database() As DataTable Dim dal As New csSQLDALVB Dim list As New List(Of csParameterListType) Return dal.executespreturndt("BackupD_mydatabase", list) End Function Function restore_database() As DataTable Dim dal As New Restore_database Dim list As New List(Of csParameterListType) Return dal._datatable("RESTORE_DATABASE", list) End Function End Class
Dim restore As New BACKUP_recovery restore.restore_database()
BACKUP
RESTORE
T-SQL
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)