Click or drag to resize

ConneXionFindChildAttachments Method

Finds the child attachments.

Namespace:  ConneXion
Assembly:  ConneXion (in ConneXion.dll) Version: 2020.0
Syntax
public ConneXionResult FindChildAttachments(
	ref Attachment oAttachment,
	ref Attachment[] oChildAttachments
)

Parameters

oAttachment
Type: ConneXionAttachment
The attachment data object to Find.
oChildAttachments
Type: ConneXionAttachment
List of child attachments.

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
Tip Tip

It is advised to provide more fields to increase performance while Finding attachments. For Example:

  • StartDate
  • EndDate
Examples
VB
Dim oConneXion As New ConneXion.ConneXion
Dim oAttachment As New ConneXion.Attachment
Dim oResult As ConneXion.ConneXionResult
Dim oAttachments() As ConneXion.Attachment

oAttachment.TAMUserName = "EXEC"
oAttachment.TAMPassword = "PSWD"
oAttachment.SequenceNumber = "0000006W"
oAttachment.RetrieveFileInfo = False
oResult = oConneXion.FindChildAttachments(oAttachment, oAttachments)

If oResult.Success Then
    txtResult.Text = oResult.Description
    dgrdResult.DataSource = oAttachments
Else
    txtResult.Text = "FindChildAttachments is false" & vbCrLf & "Number: " & oResult.Number & vbCrLf & "Desc: " &
     oResult.Description & vbCrLf & "TAMErrorNumber: " & oResult.TAMErrorNumber & vbCrLf & "TAMErroDesc: " & oResult.TAMDescription
End If
See Also