JavaScript API
An Office service that supports add-ins to interact with objects in Office client applications.
870 questions
This browser is no longer supported.
Upgrade to Microsoft Edge to take advantage of the latest features, security updates, and technical support.
I'm trying to set up a scripting function I found at ( https://learn.microsoft.com/en-us/windows/win32/api/winsvc/nf-winsvc-notifyservicestatuschangea ) I believe it is used to send a notification when a specified Services changes to ether a specified stat or if it changes from its current state. I am manly a plc programmer so this is all new to me but i was hoping that this function could be used to send out and email notification to me and some colleges to notify us if are SQL server and some other programs go offline unexpectedly.