|
| [VB.NET] | |
| Function GetSearchString
(NotificationID As String)
As
String |
|
| NotificationID |
| Notification ID |
|
| 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 |