![]() | |
ConneXionFindChildAttachments Method |
Namespace: ConneXion
public ConneXionResult FindChildAttachments( ref Attachment oAttachment, ref Attachment[] oChildAttachments )
![]() |
---|
It is advised to provide more fields to increase performance while Finding attachments. For Example:
|
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