-
April 19th, 2010, 09:20 AM
#1
Transactionscope rollback / .bat file
Hey,
I am wondering if it is possible to use transactionscope in C# to roll back a batch file if it fails along the way.
Basically I have a .bat file that creates a database, etc, if it fails along the way I want to roll back to the original state. But, as I understand it .bat files are basially "fire and forget", so I may not be able to roll back using transactionscope?
Any input would be appretiated.
-
April 20th, 2010, 05:38 PM
#2
Re: Transactionscope rollback / .bat file
bat file operations cannot be part of a transaction.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|