Jump to content
Xtreme .Net Talk

Recommended Posts

Posted

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

JvCoach23

VB.Net newbie

MS Sql Vet

Posted

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.

JvCoach23

VB.Net newbie

MS Sql Vet

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...