Syntax
Public Function GetClientInfo (vClient As Integer) As CallingResultsEnum
Description
This function is used to get information about the given client, after GetClientInfo method executes the ClientInfoRecieved event fired.
Parameters
Parameter |
Description |
vClient |
Client ID that want to get his information, value of type is Integer |
Return value
Return value of type CallingResultsEnum, if the request sent to server successfully it will return SuccessResult.
Sample
Private Sub GetInfo_Click (ByVal sender As System.Object, ByVal e As System.EventArgs) Handles GetInfo.Click
‘BOAPI is a predefined variable as CVertexBOAPI10
Dim Result As CallingResultsEnum
Dim vClient As COClient
vClient = m_oBOAPI.ClientByIndex(1)
Result= BOAPI.GetClientInfo (vClient.ClientID)
Msgbox (Result.ToString)
End Sub
Private Sub BOAPI_ClientInfoRecieved (vFName As String, vSName As String, vTName As String, vLName As String, vTel As String, vMobile As String, vTelFax As String, vPop As String, vFax As String, vEmail As String, vAddress As String, vUsername As String, vPassword As String, vReadOnly As Boolean, vCountry As String) Handles BOAPI.ClientInfoRecieved
Msgbox (“the first client name is:” & vFName & “The second name is:” & vSName & “The Third name is:” &
vTName & “The last name is:” & vLName& “Telephone number: ” & vTel & “ mobile number: ” & vMobile &
“TelFax number:” & vTelFax & “the Post office box:” & vPop & “fax number:” & vFax & “Email:” &
vEmail & “Address:” & vAddress & “username: ” & vUsername & “Password :” & vPassword & “if it
read only:” & vReadOnly & “Country:” & vCountry)
End Sub
See Also
VertexFX Backoffice API Index
|