共用方式為


Microsoft.SqlServer.Dts.Tasks.SendMailTask Namespace

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

Classes

SendMailTask

Sends an e-mail message. This class cannot be inherited.

Interfaces

IDTSSendMailTask

Represents a DTS Send Mail task.

Enums

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.

Remarks

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