Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
GetAttachment Method
Collapse the table of content
Expand the table of content

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("http://schemas.microsoft.com/exchange/services/2006/messages/GetAttachment", 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.
© 2015 Microsoft