共用方式為


Microsoft.SqlServer.Dts.Tasks.SendMailTask 命名空間

The Microsoft.SqlServer.Dts.Tasks.SendMailTask namespace contains the SendMailTask class, which enables a package to send e-mail messages.

Packages commonly use the functionality of the SendMailTask to notify operators of package success or failure.

類別

  類別 說明
公用類別 SendMailTask Sends an e-mail message. This class cannot be inherited.

介面

  介面 說明
公用介面 IDTSSendMailTask 基礎結構。Represents a DTS Send Mail task.

列舉

  列舉 說明
公用列舉 MailPriority Specifies the priority of the message contained in the SendMail task.
公用列舉 SendMailMessageSourceType Specifies the type of the MessageSource property, which contains or points to the body of the e-mail message.