We are taking db backups programatically by using SqlServer.Management.Smo.Backup class. It is working perfectly.
Now i want to catch the “Disk out of space exception” separately. When we are trying to save a backup of large size may be greater than free available size, i got this exception in the general catch block.
But i need to catch this exception separately. I have tried with SmoException also. But can’t find any useful exception category. Give your suggestions.
Thanks
Have you tried FailedOperationException ?