Getting Target computer ResourceGuid at NS
Created: 23 Nov 2011 | 1 comment
Hi,
I have a specific requirement where I need to perform some operation at NS when the task scheduled on the client gets completed. I have overridden a function "OnExecutionComplete" in my task class which gets called when the task gets completed but I am not able to fetch the ResourceGuid of the target computer on which I have scheduled the task .
How can I read the ResourceGuid of the target computer at NS ?
Thanks in Advance.
Regards,
-- Peeyush
Discussion Filed Under:
Group Ownership:
Comments 1 Comment • Jump to latest comment
Hi,
You can get the ResourceGuid of target computer from the database table 'Evt_Task_Instances'. You can check the ResourceGuid against particular task instance you have created.
Thank you.
Would you like to reply?
Login or Register to post your comment.