I have created a console application as part of a data integration solution. In my code, I'm currently writing errors to console. I would like to create a text log file and write errors to it as well as the application completed time.
how do I create log files in vb.net?
Dim hQry2 As Integer = oAPI.AmQueryCreate(intConn)
If (hQry2 = 0) Then Console.WriteLine("hQry2 = 0") Write to a log file
Using examples as well as descriptions, and references to Books Online, show the different Recovery Models available in SQL Server and explain, as well as show how full, differential and transaction log backups are performed