GetAttachment Method
TOC
Collapse the table of content
Expand the table of content
Important This document may not represent best practices for current development, links to downloads and other resources may no longer be valid. Current recommended version can be found here. ArchiveDisclaimer

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")] 
[SoapDocumentMethodAttribute("http://schemas.microsoft.com/exchange/services/2006/messages/GetAttachment", Use=SoapBindingUse.Literal, ParameterStyle=SoapParameterStyle.Bare)] 
[SoapHeaderAttribute("ServerVersionInfoValue", Direction=SoapHeaderDirection.Out)] 
[SoapHeaderAttribute("MailboxCulture")] 
[SoapHeaderAttribute("SerializedSecurityContext")] 
[SoapHeaderAttribute("RequestServerVersionValue")] 
public GetAttachmentResponseType GetAttachment (
	GetAttachmentType GetAttachment1
)
/** @attribute SoapHeaderAttribute("ExchangeImpersonation") */ 
/** @attribute SoapDocumentMethodAttribute("http://schemas.microsoft.com/exchange/services/2006/messages/GetAttachment", Use=SoapBindingUse.Literal, ParameterStyle=SoapParameterStyle.Bare) */ 
/** @attribute SoapHeaderAttribute("ServerVersionInfoValue", Direction=SoapHeaderDirection.Out) */ 
/** @attribute SoapHeaderAttribute("MailboxCulture") */ 
/** @attribute SoapHeaderAttribute("SerializedSecurityContext") */ 
/** @attribute SoapHeaderAttribute("RequestServerVersionValue") */ 
public GetAttachmentResponseType GetAttachment (
	GetAttachmentType GetAttachment1
)
SoapHeaderAttribute("ExchangeImpersonation") 
SoapDocumentMethodAttribute("http://schemas.microsoft.com/exchange/services/2006/messages/GetAttachment", Use=SoapBindingUse.Literal, ParameterStyle=SoapParameterStyle.Bare) 
SoapHeaderAttribute("ServerVersionInfoValue", Direction=SoapHeaderDirection.Out) 
SoapHeaderAttribute("MailboxCulture") 
SoapHeaderAttribute("SerializedSecurityContext") 
SoapHeaderAttribute("RequestServerVersionValue") 
public function GetAttachment (
	GetAttachment1 : GetAttachmentType
) : GetAttachmentResponseType

Parameters

GetAttachment1

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

Return Value

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

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Development Platforms

Windows XP Professional with Service Pack 2 (SP2), Windows Server 2003,

Target Platforms

Windows 98, Windows 2000, Windows 2000 Server, Windows CE, Windows Longhorn, Windows 98 Second Edition, Pocket PC, Smart Phone, Windows Server 2003, Windows XP Professional with Service Pack 2 (SP2)
Show:
© 2016 Microsoft