Click or drag to resize

ConneXionFindAttachment Method

Finds the attachment.

Namespace:  ConneXion
Assembly:  ConneXion (in ConneXion.dll) Version: 2020.0
Syntax
public ConneXionResult FindAttachment(
	ref Attachment oAttachment
)

Parameters

oAttachment
Type: ConneXionAttachment
The attachment data object to Find.

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
Examples
VB
Dim oConneXion As New ConneXion.ConneXion
Dim oAttachment As New ConneXion.Attachment
Dim oResult As ConneXion.ConneXionResult

oAttachment.TAMUserName = "EXEC"
oAttachment.TAMPassword = "PSWD"
oAttachment.RecordNumber = "198"

oResult = oConneXion.FindAttachment(oAttachment)

If oResult.Success Then
    MessageBox.Show("Find Attachment is successful")
    txtResult.Text = oResult.Description
Else
    txtResult.Text = "Find Attachment is false" & vbCrLf & "Number: " & oResult.Number & vbCrLf & "Desc: " &
     oResult.Description & vbCrLf & "TAMErrorNumber: " & oResult.TAMErrorNumber & vbCrLf & "TAMErroDesc: " & oResult.TAMDescription
End If
See Also