Compartir a través de


ExchangeFolderDestinationOptions Clase

Proporciona propiedades para la recuperación y configuración de opciones al exportar a las carpetas de Microsoft Exchange.

Para obtener una lista de todos los miembros de este tipo, vea Miembros de ExchangeFolderDestinationOptions.

System.Object
   CrystalDecisions.Shared.ExportDestinationOptions
      ExchangeFolderDestinationOptions

[Visual Basic]

Public Class ExchangeFolderDestinationOptions
   Implements ICloneable

[C#]

public class ExchangeFolderDestinationOptions : ICloneable

Ejemplo

Este ejemplo muestra el procedimiento para establecer parte de las propiedades de la clase ExchangeFolderDestinationOptions.

[Visual Basic]

      Private Sub ExportToExchange(ByVal folder As String, _
         ByVal profile As String, ByVal password As String)
       
         Dim exchangeOpts as ExchangeFolderDestinationOptions = _
            ExportOptions.CreateExchangeFolderDestinationOptions()
         Dim exportOpts As ExportOptions = New ExportOptions()
       
         exchangeOpts.DestinationType = _
            ExchangeDestinationType.ExchangePostDocMessage
       
         exchangeOpts.FolderPath = folder
         exchangeOpts.Profile = profile
         exchangeOpts.Password = password
         exportOpts.ExportDestinationOptions = exchangeOpts
       
         exportOpts.ExportDestinationType = _
            ExportDestinationType.ExchangeFolder
         exportOpts.ExportFormatType = ExportFormatType.Excel
         Dim rd as ReportDocument = New ReportDocument()
         rd.Load("Report.rpt")
         rd.Export(exportOpts)
      End Sub
      
[C#]

      private void ExportToExchange(string folder, string profile, string password){
         ExportOptions exportOpts = new ExportOptions();
         ExchangeFolderDestinationOptions exchangeOpts = 
            ExportOptions.CreateExchangeFolderDestinationOptions();
       
         exchangeOpts.DestinationType =
            ExchangeDestinationType.ExchangePostDocMessage;
         exchangeOpts.FolderPath = folder;
         exchangeOpts.Profile = profile;
         exchangeOpts.Password = password;
         exportOpts.ExportDestinationOptions = exchangeOpts;
       
         exportOpts.ExportDestinationType =
            ExportDestinationType.ExchangeFolder;
         exportOpts.ExportFormatType =
            ExportFormatType.Excel;
         ReportDocument rd = new ReportDocument();
         rd.Load("Report.rpt");
         rd.Export(exportOpts);
      }
      

Requisitos

Espacio de nombres CrystalDecisions.Shared

Ensamblado CrystalDecisions.Shared (CrystalDecisions.Shared.dll)

Vea también

ExchangeFolderDestinationOptions Miembros | CrystalDecisions.Shared Espacio de nombres

**

©2005 Business Objects SA Reservados todos los derechos.

Business Objects SA
http://www.spain.businessobjects.com/
Servicios de soporte
http://www.spain.businessobjects.com/Servicios/soporte.htm