Knowledgebase:
DisconnectSession
Posted by Mohammad Rahhal, Last modified by Rawan Al Hourani on 02 August 2016 09:21 AM

Syntax

 Function DisconnectSession(ByRef Session As COnlineSession)As CallingResultsEnum 

To disconnect a specific client.After DisconnectSession method executes the SessionDisconnected event fire

Parameters

Part Description 
Session The dealer will disconnect  the client of this session,value of type COnlineSession.

  Return value

 This Returns value of type CallingResultsEnumif the request sent to the server successfully it will return SuccessResult.

 Sample

Public WithEvents BOAPI As CVertexFXBOAPI

Private Sub Button1_Click (sender As System.Object, e As System.EventArgs) Handles Button1.Click 

      Dim Result As CallingResultsEnum
      Dim vSession As VertexFXBOAPI10.COnlineSession

      For Each vSession In BOAPI.OnlineSessions
         Result = BOAPI.DisconnectSession(vSession)
         MsgBox(Result.ToString)
      Next

End Sub


See Also


VertexFX Backoffice API Index

(1 vote(s))
Helpful
Not helpful

Comments (0)
Post a new comment
 
 
Full Name:
Email:
Comments:
CAPTCHA Verification 
 
Please enter the text you see in the image into the textbox below (we use this to prevent automated submissions).

Help Desk Software by Hybrid Solutions