ExchangeService.GetAttachments Método
Definición
Importante
Parte de la información hace referencia a la versión preliminar del producto, que puede haberse modificado sustancialmente antes de lanzar la versión definitiva. Microsoft no otorga ninguna garantía, explícita o implícita, con respecto a la información proporcionada aquí.
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.
- additionalProperties
- IEnumerable<PropertyDefinitionBase>
Especifica las propiedades adicionales en el objeto attachment que se va a devolver en la respuesta.
Devoluciones
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.
- additionalProperties
- IEnumerable<PropertyDefinitionBase>
Especifica las propiedades adicionales en el objeto attachment que se va a devolver en la respuesta.
Devoluciones
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