Compartir a través de


: ExchangeServiceBinding.CreateAttachment (Método) (Microsoft.SharePoint.Portal.WebControls)

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

Espacio de nombres:
Ensamblado: Microsoft.SharePoint.Portal (in microsoft.sharepoint.portal.dll)

Sintaxis

'Declaración
<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
'Uso
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
)

Parámetros

  • CreateAttachment1
    A request to create an attachment.

Valor devuelto

An object representing a request to create an attachment.

Vea también

Referencia

ExchangeServiceBinding (Clase)
ExchangeServiceBinding (Miembros)
Microsoft.SharePoint.Portal.WebControls (Espacio de nombres)