Method SendPager
- Namespace
- Skyline.DataMiner.Automation
- Assembly
- SLManagedAutomation.dll
SendPager(PagerOptions)
Sends a pager message.
public void SendPager(PagerOptions options)
Parameters
options
PagerOptionsThe options.
Examples
PagerOptions myPagerOptions;
...
engine.SendPager(myPagerOptions);
Remarks
In DataMiner 10.4.0 [CU10]/10.5.1 (RN 41195), some changes are introduced in the locking behavior of this Automation script action. From these versions onward, text that supports the dummy placeholder will display the old element name if it is updated during the execution of a script, or it will still display the element name even if the element has been deleted in the meantime.
Exceptions
- DataMinerException
Sending failed.
SendPager(string, string)
Sends a pager message.
public void SendPager(string message, string to)
Parameters
Examples
engine.SendPager("The message I want to send.","USER:ADMIN");
Remarks
To specify the recipient, use
- a pager number,
- USER:, followed by the name of a DataMiner user, or
- GROUP:, followed by the name of a DataMiner user group.
Exceptions
- DataMinerException
Sending failed.