Condividi tramite


ExchangeFolderDestinationOptions Classe

Fornisce le proprietà per il recupero e l'impostazione delle opzioni durante l'esportazione nelle cartelle di Microsoft Exchange.

Per un elenco di tutti i membri di questo tipo, vedere ExchangeFolderDestinationOptions.

System.Object
   CrystalDecisions.Shared.ExportDestinationOptions
      ExchangeFolderDestinationOptions

[Visual Basic]

Public Class ExchangeFolderDestinationOptions
   Implements ICloneable

[C#]

public class ExchangeFolderDestinationOptions : ICloneable

Esempio

In questo esempio vengono illustrati l'utilizzo e l'impostazione di alcune proprietà della classe 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);
      }
      

Requisiti

Spazio dei nomi CrystalDecisions.Shared

Assemblaggio CrystalDecisions.Shared (CrystalDecisions.Shared.dll)

Vedere anche

ExchangeFolderDestinationOptions Membri | CrystalDecisions.Shared Spazio dei nomi

**

©2005 Business Objects SA Tutti i diritti riservati

Business Objects SA
http://www.businessobjects.com/
Servizi di supporto
http://support.businessobjects.com/