SMS


Release

Release SMS Notification object on server

Call Method
[VB.NET]
   Sub Release (NotificationID As String)
Parameters
   NotificationID
         Notification ID
VB.NET Example Switch to language: [C#]
  'Create personalizer object and Session object
  Dim pers As New PersonalizerRef.Personalizer()
  Dim sess As New SessionRef.Session()
  Dim SessionID As String = ""
  Try
      SessionID = pers.CreateSession("LogonName", "Password")
      'Create SMS notification object
      Dim objSMS As New SMSRef.SMS()
      ' Create server notification object
      Dim SMSNotifID As String = sess.CreateSMSNotification(SessionID)
      objSMS.Send(SMSNotifID, "+11005118196", "This is SMS Notification Message")
      objSMS.Release(SMSNotifID)
      sess.Release(SessionID)
  Catch e As Exception
      'Print exception message e.Message
      sess.Release(SessionID)
  End Try