Click or drag to resize

ConneXionDeleteCommercialInfo Method

Used to Delete the commercial information.

Namespace:  ConneXion
Assembly:  ConneXion (in ConneXion.dll) Version: 2020.0
Syntax
public ConneXionResult DeleteCommercialInfo(
	CommercialInfo CommercialInfo
)

Parameters

CommercialInfo
Type: ConneXionCommercialInfo
The CommercialInfo object to Delete.

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 oConneXionCommercialInfo As New ConneXion.ConneXion
Dim oCommercialInfo As New ConneXion.CommercialInfo
Dim oResult As ConneXion.ConneXionResult

oCommercialInfo.TAMUserName = "EXEC"
oCommercialInfo.TAMPassword = "PSWD"
oCommercialInfo.LicenseKey = "1234567  1"
oCommercialInfo.TAMCentralAgency = "DEMOAG1"

oCommercialInfo.ClientKey = "C"
oCommercialInfo.ClientID = "BOXHI-1"
oCommercialInfo.RecordNumber = "18"

oResult = oConneXionCommercialInfo.DeleteCommercialInfo(oCommercialInfo)

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