Fax


GetSearchString

Get indentification string for further notification searchings in history log

Call Method
[VB.NET]
   Function GetSearchString (NotificationID As String) As String
Parameters
   NotificationID
         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 = ""
  Try
      SessionID = pers.CreateSession("LogonName", "Password")
      'Create Fax notification object
      Dim objFax As New FaxRef.Fax()
      ' Create server notification object
      FaxNotifID = sess.CreateFaxNotification(SessionID)
      Dim NotificationSequenceNumber As Long
      NotificationSequenceNumber=GetNotificationSequenceNumber()+1 'using some user function
      objFax.SetSearchString(FaxNotifID,NotificationSequenceNumber)
      ...
      SaveNotificationSequenceNumber(objFax.GetSearchString(FaxNotifID)) ' retrieve and save search string
      objFax.Release(FaxNotifID)
      sess.Release(SessionID)
  Catch e As Exception
      'Print exception message e.Message
      sess.Release(SessionID)
  End Try