jvcoach23 Posted October 25, 2004 Posted October 25, 2004 i wrote a console app that I am calling using Sql Servers Dts Packages. The console app seems to run correctly, but I don't know how to control the exit code that it sends back to the dts package manager. Unless it's zero.. dts see it as having failed. Is there a way to control the exit code or return code.. not sure what you would call it for when the program exits. thanks shannon Quote JvCoach23 VB.Net newbie MS Sql Vet
Administrators PlausiblyDamp Posted October 27, 2004 Administrators Posted October 27, 2004 You should be able to either return a value if you are running from a sub Main or alternatively use the Environment.ExitCode property. Quote Posting Guidelines FAQ Post Formatting Intellectuals solve problems; geniuses prevent them. -- Albert Einstein
jvcoach23 Posted October 28, 2004 Author Posted October 28, 2004 great.. thanks.. I'll try that You should be able to either return a value if you are running from a sub Main or alternatively use the Environment.ExitCode property. Quote JvCoach23 VB.Net newbie MS Sql Vet
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.