Feature Service QueryAttachmentData method

Queries and returns attachments of the input attachment identifier array.

 

QueryAttacmentData(int LayerOrTableID, int[] IDsOfAttachmentsToQuery, esriTransportType TransportType)

 

Parameter

Description

LayerOrTableID

Identifier of the layer or table.

IDsOfAttachmentsToQuery

An array of AttachmenIDs.

TransportType

Describes the way the attachments will be return based on the esriTransportType constant. (URL &endash; "esriTransportTypeUrl", Embedded &endash; "esriTransportTypeEmbedded")

 

Return Value

 

An array of attachments (AttachmentData[]).

 

Remarks

 

Once you have the list of identifiers for attachments (AttachmentIDs) from the QueryAttachmentInfos method you can use the this method to access the attachments.

 

You can specify the specific the type of transport method that you would like the attachments to be returned with. Feature Services support two transportation types: