Please note that VisualCron support is not actively monitoring this community forum. Please use our contact page for contacting the VisualCron support directly.


keithdavis
2014-03-31T12:07:42Z
I have been able to modify tasks via the API, but now I'm trying to update Notifications.

This is what I'm doing, but this returns 0 results and I know there are 4:

List<TaskNotificationClass> lNotificationClasses = oNotifications.GetAll();


Also, what is the difference between the VisualCron namespace and the VisualCronAPI namespace?
Sponsor
Forum information
Support
2014-03-31T14:34:16Z
Hard to say what is wrong just by that line. I would take a look at the API sample and check values there (once connected).

The difference is that VisualCron.dll holds all global objects and VisualCronAPI.dll holds the connection and methods.
Henrik
Support
http://www.visualcron.com 
Please like  VisualCron on facebook!
keithdavis
2014-03-31T17:46:35Z
Ok, so the way I was calling it does not work - I had to use this:

List<TaskNotificationClass> lNotificationClasses = server.Notifications.GetAll();
Support
2014-03-31T19:48:56Z
Ok, glad that you solved it.
Henrik
Support
http://www.visualcron.com 
Please like  VisualCron on facebook!
Scroll to Top