Get indentification string for further notification searchings in history log

Call Method
   Function GetSearchString (NotificationID As String) As String
         Notification ID
Return value
         Search string value
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 = ""
      SessionID = pers.CreateSession("LogonName", "Password")
      'Create Mail notification proxy object
      Dim objMail As New MailRef.Mail()
      'Create server notification object
      Dim MailNotifID As String = sess.CreateMailNotification(SessionID)
      Dim NotificationSequenceNumber As Long
      NotificationSequenceNumber=GetNotificationSequenceNumber()+1 ' using some user function
      SaveNotificationSequenceNumber(objMail.GetSearchString(MailNotifID)) ' retrieve and save search string
  Catch e As Exception
      'Print exception message e.Message
  End Try