Microsoft SQL Server Front End Blog

The writers of this blog are a part of the Microsoft SQL Server Manageability team. We will be blogging about our tools, scripts, webcasts, and miscellaneous tips that will help you get the most out of SQL Agent, Data collector and other tools

Create a SQL Agent Job using Managed C++

Create a SQL Agent Job using Managed C++

Rate This
  • Comments 1

You could use the following code sample to create a SQL Agent Job using Managed C++  

You can download
the sample from MSDN http://code.msdn.microsoft.com/Create-SQL-Agent-job-using-f1ee5004

 

Leave a Comment
  • Please add 1 and 8 and type the answer here:
  • Post
  • Thanks to provide an example of the use of C++ with SMO. It is so rare, you have filled a surprising gap. I used C++ since the release of C++ 4.0 a long time ago and i gave it up when VC# was released ( 2003 ) as i was beginning to be bored by the use the pointers (->). I think that i will download today VC++ 2010 Express today to test your example.

    Congratulations for the way you wrote your code.Maybe too small font but with a huge advantage : it is easy to copy your code and to understand it ( no cut line with missing/not visible code ).Is it to have tags by languages .?

Page 1 of 1 (1 items)