ExchangeServiceBinding.GetAttachment(GetAttachmentType) 方法

定义

方法 GetAttachment(GetAttachmentType) 将请求发送到 ,并从 GetAttachment作获取响应。

public:
 ExchangeWebServices::GetAttachmentResponseType ^ GetAttachment(ExchangeWebServices::GetAttachmentType ^ GetAttachment1);
[System.Web.Services.Protocols.SoapDocumentMethod("http://schemas.microsoft.com/exchange/services/2006/messages/GetAttachment", ParameterStyle=System.Web.Services.Protocols.SoapParameterStyle.Bare, Use=System.Web.Services.Description.SoapBindingUse.Literal)]
[System.Web.Services.Protocols.SoapHeader("TimeZoneContext")]
[System.Web.Services.Protocols.SoapHeader("ExchangeImpersonation")]
[System.Web.Services.Protocols.SoapHeader("ServerVersionInfoValue", Direction=System.Web.Services.Protocols.SoapHeaderDirection.Out)]
[System.Web.Services.Protocols.SoapHeader("MailboxCulture")]
[System.Web.Services.Protocols.SoapHeader("RequestServerVersionValue")]
public ExchangeWebServices.GetAttachmentResponseType GetAttachment(ExchangeWebServices.GetAttachmentType GetAttachment1);
Public Function GetAttachment (GetAttachment1 As GetAttachmentType) As GetAttachmentResponseType

参数

GetAttachment1
GetAttachmentType

类的 GetAttachmentType 实例,表示要获取的附件集。

返回

方法 GetAttachment(GetAttachmentType) 返回一个 GetAttachmentResponseType 对象,该对象包含 GetAttachment作的状态和请求的附件集。

属性

适用于