Home > Archive > MS SQL XML > November 2005 > Return Value from SQLXMLBULKLOADLib.SQLXMLBulkLoad3Class.Execute









You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

 

Author Return Value from SQLXMLBULKLOADLib.SQLXMLBulkLoad3Class.Execute
LvBohemian

2005-11-14, 8:24 pm

I am l trying to return a value of success or failure from the execute method
can anybody help?
Bertan ARI [MSFT]

2005-11-18, 3:23 am

I am not sure if I understand what you want exactly. If you want to see if
Bulkload.Execute succedded, you need to try to catch the exception that
might be thrown by the execute. If there is exception, it means a failure..

Note that in .Net, preferred error reporting mechanism is using exceptions
rather than return codes.

--
Bertan ARI
This posting is provided "AS IS" with no warranties, and confers no rights.



"LvBohemian" < LvBohemian@discussio
ns.microsoft.com> wrote in message
news:71CD4B7A-80D5-4E9F-B8F9- FF59BF64E2BD@microso
ft.com...
>I am l trying to return a value of success or failure from the execute
>method
> can anybody help?



Sponsored Links





Also available: Server administration forum archive | Web Design forum archive | Software forum archive | Hardware reviews archive | Programming forum archive

Copyright 2008 droptable.com