Hinweis
Für den Zugriff auf diese Seite ist eine Autorisierung erforderlich. Sie können versuchen, sich anzumelden oder das Verzeichnis zu wechseln.
Für den Zugriff auf diese Seite ist eine Autorisierung erforderlich. Sie können versuchen, das Verzeichnis zu wechseln.
Stellt Eigenschaften zum Abrufen und Festlegen von Optionen beim Exportieren in Microsoft Exchange-Ordner bereit.
Eine Liste der Elemente dieses Typs finden Sie unter ExchangeFolderDestinationOptions -Elemente.
System.Object
CrystalDecisions.Shared.ExportDestinationOptions
ExchangeFolderDestinationOptions
[Visual Basic]
Public Class ExchangeFolderDestinationOptions
Implements ICloneable
[C#]
public class ExchangeFolderDestinationOptions : ICloneable
Beispiel
In diesem Beispiel wird veranschaulicht, wie einige der Eigenschaften der ExchangeFolderDestinationOptions-Klasse festzulegen.
[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);
}
Anforderungen
Namespace CrystalDecisions.Shared
Assembly CrystalDecisions.Shared (CrystalDecisions.Shared.dll)
Siehe auch
ExchangeFolderDestinationOptions Elemente | CrystalDecisions.Shared Namespace
©2005 Business Objects SA Alle Rechte vorbehalten
| Business Objects SA http://germany.businessobjects.com/ Supportleistungen http://germany.businessobjects.com/support/ |