[Solved] How To Access Notifications - VisualCron - Forum

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


keithdavis
11 years ago
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
11 years ago
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
11 years ago
Ok, so the way I was calling it does not work - I had to use this:

List<TaskNotificationClass> lNotificationClasses = server.Notifications.GetAll();
Support
11 years ago
Ok, glad that you solved it.
Henrik
Support
http://www.visualcron.com 
Please like  VisualCron on facebook!
Scroll to Top