Event Handler for file polling


In the port status event service for file polling, how do we check whether file polling is active for a specific folder?

Your response would be highly appreciated.


onca u enable the file polling ,u can see the IS polling the directory at regular intervals on server log.

Thanks for your response Srikanth. After I get the portStatusInfo I could use
portStatusInfo/protocol to see whether it is a FilePolling protocol. But what I wanted to know is that how do we check whether file polling for a specific folder, is active or not? I have more than one file polling services.