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)
Syntax
'Declaration
<SoapHeaderAttribute("ExchangeImpersonation")> _
<SoapDocumentMethodAttribute("https://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 As GetAttachmentType _
) As GetAttachmentResponseType
[SoapHeaderAttribute("ExchangeImpersonation")]
[SoapDocumentMethodAttribute("https://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
)
[SoapHeaderAttribute(L"ExchangeImpersonation")]
[SoapDocumentMethodAttribute(L"https://schemas.microsoft.com/exchange/services/2006/messages/GetAttachment", Use=SoapBindingUse::Literal, ParameterStyle=SoapParameterStyle::Bare)]
[SoapHeaderAttribute(L"ServerVersionInfoValue", Direction=SoapHeaderDirection::Out)]
[SoapHeaderAttribute(L"MailboxCulture")]
[SoapHeaderAttribute(L"SerializedSecurityContext")]
[SoapHeaderAttribute(L"RequestServerVersionValue")]
public:
GetAttachmentResponseType^ GetAttachment (
GetAttachmentType^ GetAttachment1
)
/** @attribute SoapHeaderAttribute("ExchangeImpersonation") */
/** @attribute SoapDocumentMethodAttribute("https://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("https://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.
Thread Safety
Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.
Platforms
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)
See Also
Reference
ExchangeServiceBinding Class
ExchangeServiceBinding Members
ExchangeWebServices Namespace