Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Returning value of Console App to calling DTS Script
Message
De
29/01/2007 11:57:06
Mike Cole
Yellow Lab Technologies
Stanley, Iowa, États-Unis
 
 
À
Tous
Information générale
Forum:
ASP.NET
Catégorie:
Bases de données
Titre:
Returning value of Console App to calling DTS Script
Versions des environnements
Environment:
VB.NET 1.1
Divers
Thread ID:
01190147
Message ID:
01190147
Vues:
72
I created a console application that does some work and then the Function Main returns a -1 if an error occured or a 1 if the work completed successfully.

Step 2 is going to be creating a SQL Server DTS script to call this console app and send an email if the process did not complete successfully.

How can I return the 1 or -1 back to the DTS script? For some reason in my mind I had the notion to create a batch file that called this console app, and have the DTS script call that batch file, but I am pretty sure this would not be necessary.

Any advice out there in UT land?
Very fitting: http://xkcd.com/386/
Répondre
Fil
Voir

Click here to load this message in the networking platform