Microsoft.SqlServer.SendMailTask 命名空间包含 类,该类使包可以发送电子邮件。 指定在 SendMail 任务中包含邮件的优先级。 高优先级的邮件。 低优先级的邮件。 普通优先级的邮件。 指定 属性的类型,该属性包含或指向电子邮件的正文。 属性中指定作为文本包含的消息源。 指定在 属性中命名的文件中包含的消息源。 指定在 属性中命名的变量中包含的消息源。 发送电子邮件。无法继承此类。 初始化 类的新实例。 传递到发送邮件任务。此方法由运行时调用,在代码中未使用。 The breakpoint manager specific for this task. 执行发送邮件任务。 One of the values. A collection of connections used by the task. A object for locking variables. An interface to raise events. An interface. The transaction to which the container belongs. The SSIS Runtime provides the transaction for the container, based on the property. This value can be null. 初始化与该任务相关联的属性。此方法由运行时调用,在代码中未使用。 A collection of connections used by the task. A object for locking variables. An object implementing the interface. An object implementing the interface. A collection containing events to be raised during execution of the task. A collection of log entries. An object reference tracker. 此方法不能由应用程序代码调用。若要加载保存为 .xml 的包,请使用 方法。 The node containing the task metadata to be loaded. An object that implements the interface for raising events (errors, warnings, and so on) during persistence. 暂停后恢复执行任务。由运行时引擎恢复任务或容器。 此方法不能由应用程序代码调用。若将包保存为 .xml,请使用 方法。 The XML document to save the information to. An object that implements the interface for raising events (errors, warnings, and so on) during persistence. 指示可执行文件需要挂起。运行时引擎调用此方法。 验证该任务已正确配置。 A value from the enumeration. A collection of connections used by the task. A object for locking variables. An object implementing the interface. An object implementing the interface. 获取或设置密件抄送邮件收件人的电子邮件地址,在有多个收件人时以分号分隔。 A String containing the e-mail addresses of the blind carbon copy recipients. 获取或设置抄送邮件收件人的电子邮件地址,在有多个收件人时以分号分隔。 A String containing the e-mail addresses of the carbon copy recipients. 获取或设置一个 Boolean 值,该值指示对象是否处于调试模式中,并且在运行时是否应引发 事件。 A Boolean indicating whether the package is in debug mode. A value of true indicates that the object is in debug mode, and raises the event. 获取或设置附加到电子邮件的文件的名称,在有多个文件时用竖线字符 (|) 分隔。 A String containing the names of the files attached to the e-mail message. 获取或设置发件人的电子邮件地址。 A String containing the e-mail address of the sender. 获取或设置邮件正文或者包含邮件正文的源的名称。 A String containing the message text or the name of the source that contains the message. 获取或设置包含邮件正文的源类型的值。 One of the values. 获取或设置邮件的优先级。 One of the values. 获取或设置简单邮件传输协议 (SMTP) 服务器的名称或 IP 地址。 A String containing the name or IP address of the Simple Mail Transfer Protocol (SMTP) server. 获取或设置电子邮件的主题。 A String containing the subject of the e-mail message. 获取或设置一个布尔,该值指示在遇到断点时任务是否应挂起。遇到断点时,将由任务和容器的运行时引擎设置此值。 true if the task suspends when it encounters a breakpoint. 获取或设置获取或设置收件人的电子邮件地址,在有多个收件人时以分号分隔。 A String containing the e-mail addresses of the recipients.