다음을 통해 공유


ExchangeFolderDestinationOptions 클래스

Microsoft Exchange 폴더로 내보낼 때 옵션을 검색하고 설정할 수 있는 속성을 제공합니다.

이 형식의 멤버 목록을 보려면 ExchangeFolderDestinationOptions 멤버를 참조하십시오.

System.Object
   CrystalDecisions.Shared.ExportDestinationOptions
      ExchangeFolderDestinationOptions

[Visual Basic]

Public Class ExchangeFolderDestinationOptions
   Implements ICloneable

[C#]

public class ExchangeFolderDestinationOptions : ICloneable

예제

이 예제는 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);
      }
      

요구 사항

네임스페이스 CrystalDecisions.Shared

어셈블리 CrystalDecisions.Shared (CrystalDecisions.Shared.dll)

참고 항목

ExchangeFolderDestinationOptions 멤버 | CrystalDecisions.Shared 네임스페이스

**

©2005 Business Objects SA All rights reserved.

Business Objects SA
http://www.businessobjects.com/
지원 서비스
http://korea.businessobjects.com/services/