ExchangeService.GetAttachments Método

Definición

Sobrecargas

GetAttachments(Attachment[], Nullable<BodyType>, IEnumerable<PropertyDefinitionBase>)

Obtiene las propiedades de los datos adjuntos desde el servidor.

GetAttachments(String[], Nullable<BodyType>, IEnumerable<PropertyDefinitionBase>)

Obtiene las propiedades de los datos adjuntos desde el servidor.

GetAttachments(Attachment[], Nullable<BodyType>, IEnumerable<PropertyDefinitionBase>)

Obtiene las propiedades de los datos adjuntos desde el servidor.

public:
 Microsoft::Exchange::WebServices::Data::ServiceResponseCollection<Microsoft::Exchange::WebServices::Data::GetAttachmentResponse ^> ^ GetAttachments(cli::array <Microsoft::Exchange::WebServices::Data::Attachment ^> ^ attachments, Nullable<Microsoft::Exchange::WebServices::Data::BodyType> bodyType, System::Collections::Generic::IEnumerable<Microsoft::Exchange::WebServices::Data::PropertyDefinitionBase ^> ^ additionalProperties);
public Microsoft.Exchange.WebServices.Data.ServiceResponseCollection<Microsoft.Exchange.WebServices.Data.GetAttachmentResponse> GetAttachments (Microsoft.Exchange.WebServices.Data.Attachment[] attachments, Nullable<Microsoft.Exchange.WebServices.Data.BodyType> bodyType, System.Collections.Generic.IEnumerable<Microsoft.Exchange.WebServices.Data.PropertyDefinitionBase> additionalProperties);
Public Function GetAttachments (attachments As Attachment(), bodyType As Nullable(Of BodyType), additionalProperties As IEnumerable(Of PropertyDefinitionBase)) As ServiceResponseCollection(Of GetAttachmentResponse)

Parámetros

attachments
Attachment[]

Una matriz de Attachment objetos.

bodyType
Nullable<BodyType>

Especifica cómo se da el formato de texto del cuerpo en la respuesta.

additionalProperties
IEnumerable<PropertyDefinitionBase>

Especifica las propiedades adicionales en el objeto attachment que se va a devolver en la respuesta.

Devoluciones

ServiceResponseCollection<GetAttachmentResponse>

Una colección de respuestas por cada dato adjunto.

Se aplica a

GetAttachments(String[], Nullable<BodyType>, IEnumerable<PropertyDefinitionBase>)

Obtiene las propiedades de los datos adjuntos desde el servidor.

public:
 Microsoft::Exchange::WebServices::Data::ServiceResponseCollection<Microsoft::Exchange::WebServices::Data::GetAttachmentResponse ^> ^ GetAttachments(cli::array <System::String ^> ^ attachmentIds, Nullable<Microsoft::Exchange::WebServices::Data::BodyType> bodyType, System::Collections::Generic::IEnumerable<Microsoft::Exchange::WebServices::Data::PropertyDefinitionBase ^> ^ additionalProperties);
public Microsoft.Exchange.WebServices.Data.ServiceResponseCollection<Microsoft.Exchange.WebServices.Data.GetAttachmentResponse> GetAttachments (string[] attachmentIds, Nullable<Microsoft.Exchange.WebServices.Data.BodyType> bodyType, System.Collections.Generic.IEnumerable<Microsoft.Exchange.WebServices.Data.PropertyDefinitionBase> additionalProperties);
Public Function GetAttachments (attachmentIds As String(), bodyType As Nullable(Of BodyType), additionalProperties As IEnumerable(Of PropertyDefinitionBase)) As ServiceResponseCollection(Of GetAttachmentResponse)

Parámetros

attachmentIds
String[]

Una matriz de identificadores de identificación de los datos adjuntos para obtener desde el servidor de datos adjuntos.

bodyType
Nullable<BodyType>

Especifica cómo se da el formato de texto del cuerpo en la respuesta.

additionalProperties
IEnumerable<PropertyDefinitionBase>

Especifica las propiedades adicionales en el objeto attachment que se va a devolver en la respuesta.

Devoluciones

ServiceResponseCollection<GetAttachmentResponse>

Una colección de respuestas por cada dato adjunto.

Comentarios

Este método recupera uno o más datos adjuntos en función de los identificadores de los datos adjuntos especificados en el attachmentIds parámetro. Esto habilita el acceso a los datos adjuntos cuando el identificador de datos adjuntos sólo está disponible, como cuando una aplicación de correo envía los datos adjuntos de los identificadores de un servicio remoto

Se aplica a