Method SendSms
- Namespace
- Skyline.DataMiner.Automation
- Assembly
- SLManagedAutomation.dll
SendSms(SmsOptions)
Sends a text message (SMS).
public void SendSms(SmsOptions options)
Parameters
options
SmsOptionsThe options.
Examples
SmsOptions mySmsOptions;
...
engine.SendSms(mySmsOptions);
Exceptions
- DataMinerException
Sending failed.
SendSms(string, string)
Sends a text message (SMS).
public void SendSms(string message, string to)
Parameters
Examples
engine.SendSms("My Message","USER:ADMIN");
Remarks
- a mobile 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.