![]() | |
ConneXionFindAttachmentsForEntity Method |
Namespace: ConneXion
public ConneXionResult FindAttachmentsForEntity( ref Attachment oAttachment, ref Attachment[] oAttachments )
![]() |
---|
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.EntityKey = "C" oAttachment.EntityID = "ABBOJO1" oAttachment.StartDate = "20200120" oAttachment.EndDate = "20200121" oAttachment.RetrieveFileInfo = False oResult = oConneXion.FindAttachmentsForEntity(oAttachment, oAttachments) If oResult.Success Then txtResult.Text = "FindAttachmentsForEntity is Successful. " & oResult.Description dgrdResult.DataSource = oAttachments Else txtResult.Text = "FindAttachmentsForEntity is false" & vbCrLf & "Number: " & oResult.Number & vbCrLf & "Desc: " & oResult.Description & vbCrLf & "TAMErrorNumber: " & oResult.TAMErrorNumber & vbCrLf & "TAMErroDesc: " & oResult.TAMDescription End If