Export (0) Print
Expand All
Expand Minimize
This topic has not yet been rated - Rate this topic

ExchangeServiceBinding.CreateAttachment Method

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

Namespace:  ExchangeWebServices
Assembly:  EWS (in EWS.dll)
'Declaration
<SoapHeaderAttribute("RequestServerVersionValue")> _
<SoapHeaderAttribute("ExchangeImpersonation")> _
<SoapHeaderAttribute("MailboxCulture")> _
<SoapDocumentMethodAttribute("http://schemas.microsoft.com/exchange/services/2006/messages/CreateAttachment", Use := SoapBindingUse.Literal,  _
	ParameterStyle := SoapParameterStyle.Bare)> _
<SoapHeaderAttribute("ServerVersionInfoValue", Direction := SoapHeaderDirection.Out)> _
<SoapHeaderAttribute("TimeZoneContext")> _
Public Function CreateAttachment ( _
	CreateAttachment1 As CreateAttachmentType _
) As CreateAttachmentResponseType
'Usage
Dim instance As ExchangeServiceBinding
Dim CreateAttachment1 As CreateAttachmentType
Dim returnValue As CreateAttachmentResponseType

returnValue = instance.CreateAttachment(CreateAttachment1)

Parameters

CreateAttachment1
Type: ExchangeWebServices.CreateAttachmentType
An instance of the CreateAttachmentType class that represents the attachments to associate with a parent item.

Return Value

Type: ExchangeWebServices.CreateAttachmentResponseType
The CreateAttachment method returns a CreateAttachmentType object that contains the status of the CreateAttachment operation.
Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback
Show:
© 2014 Microsoft. All rights reserved.