Partager via


ExchangeServiceBinding.CreateAttachment, méthode (Microsoft.SharePoint.Portal.WebControls)

Defines a request to create an attachment to an item in the Microsoft Exchange Server 2007 store.

Espace de noms : Microsoft.SharePoint.Portal.WebControls
Assembly : Microsoft.SharePoint.Portal (dans microsoft.sharepoint.portal.dll)

Syntaxe

'Déclaration
<SoapHeaderAttribute("ExchangeImpersonation")> _
<SoapDocumentMethodAttribute("https://schemas.microsoft.com/exchange/services/2006/messages/CreateAttachment", Use:=SoapBindingUse.Literal, ParameterStyle:=SoapParameterStyle.Bare)> _
<SoapHeaderAttribute("ServerVersionInfoValue", Direction:=SoapHeaderDirection.Out)> _
<SoapHeaderAttribute("SerializedSecurityContext")> _
<SoapHeaderAttribute("MailboxCulture")> _
Public Function CreateAttachment ( _
    CreateAttachment1 As CreateAttachmentType _
) As CreateAttachmentResponseType
'Utilisation
Dim instance As ExchangeServiceBinding
Dim CreateAttachment1 As CreateAttachmentType
Dim returnValue As CreateAttachmentResponseType

returnValue = instance.CreateAttachment(CreateAttachment1)
[SoapHeaderAttribute("ExchangeImpersonation")] 
[SoapDocumentMethodAttribute("https://schemas.microsoft.com/exchange/services/2006/messages/CreateAttachment", Use=SoapBindingUse.Literal, ParameterStyle=SoapParameterStyle.Bare)] 
[SoapHeaderAttribute("ServerVersionInfoValue", Direction=SoapHeaderDirection.Out)] 
[SoapHeaderAttribute("SerializedSecurityContext")] 
[SoapHeaderAttribute("MailboxCulture")] 
public CreateAttachmentResponseType CreateAttachment (
    CreateAttachmentType CreateAttachment1
)

Paramètres

  • CreateAttachment1
    A request to create an attachment.

Valeur de retour

An object representing a request to create an attachment.

Voir aussi

Référence

ExchangeServiceBinding, classe
Membres ExchangeServiceBinding
Microsoft.SharePoint.Portal.WebControls, espace de noms