This documentation is archived and is not being maintained.

ExchangeServiceBinding.GetAttachment Method

The GetAttachment method sends the request to and gets the response from a GetAttachment operation.

Namespace:  ExchangeWebServices
Assembly:  EWS (in EWS.dll)

<SoapHeaderAttribute("ExchangeImpersonation")> _
<SoapHeaderAttribute("MailboxCulture")> _
<SoapDocumentMethodAttribute("", Use := SoapBindingUse.Literal,  _
	ParameterStyle := SoapParameterStyle.Bare)> _
<SoapHeaderAttribute("RequestServerVersionValue")> _
<SoapHeaderAttribute("ServerVersionInfoValue", Direction := SoapHeaderDirection.Out)> _
<SoapHeaderAttribute("TimeZoneContext")> _
Public Function GetAttachment ( _
	GetAttachment1 As GetAttachmentType _
) As GetAttachmentResponseType
Dim instance As ExchangeServiceBinding
Dim GetAttachment1 As GetAttachmentType
Dim returnValue As GetAttachmentResponseType

returnValue = instance.GetAttachment(GetAttachment1)


Type: ExchangeWebServices.GetAttachmentType
An instance of the GetAttachmentType class that represents the set of attachments to get.

Return Value

Type: ExchangeWebServices.GetAttachmentResponseType
The GetAttachment method returns a GetAttachmentResponseType object that contains the status of the GetAttachment operation and the set of requested attachments.