Click or drag to resize

ConneXionUpdateContact Method

Updates the Contact.

Namespace:  ConneXion
Assembly:  ConneXion (in ConneXion.dll) Version: 2020.0
Syntax
public ConneXionResult UpdateContact(
	Contact oContact
)

Parameters

oContact
Type: ConneXionContact
Contact object to Update

Return Value

Type: ConneXionResult
ConneXionResult.
Remarks

Required Fields

  • TAMUserName
  • TAMPassword
  • TAMCentralAgency - only if agency is on AppliedOnline
  • LicenseKey - only if agency is an Agency of Vendor
  • RecordNumber
Examples
VB
Dim oConneXion As New ConneXion.ConneXion
Dim oResult As New ConneXion.ConneXionResult
Dim oContact As New ConneXion.Contact

oContact.TAMUserName = "EXEC"
oContact.TAMPassword = "PSWD"
oContact.RecordNumber = "104"

oResult = oConneXion.FindContact(oContact)

If oResult.Success = False Then
  txtContacts.Text = "FindContact is false. " & oResult.Description & oResult.TAMDescription
Else

  oContact.TAMUserName = "EXEC"
  oContact.TAMPassword = "PSWD"
  oContact.LicenseLines1 = oContact.LicenseLines.LINES_CASUALTY + oContact.LicenseLines.LINES_PROPERTY

  oResult = oConneXion.UpdateContact(oContact)

  If oResult.Success = False Then
    txtContacts.Text = "UpdateContact is false. " & oResult.Description & oResult.TAMDescription
  Else
    txtContacts.Text = "UpdateContact is successful. " & oResult.Description & oResult.TAMDescription
  End If
End If
See Also