共用方式為


IDTSSendMailTask.MessageSource 屬性

此 API 支援 SQL Server 2012 基礎結構,但無法直接從您的程式碼使用。

Gets or sets the message body or the name of the source that contains the message body.

命名空間:  Microsoft.SqlServer.Dts.Tasks.SendMailTask
組件:  Microsoft.SqlServer.SendMailTask (在 Microsoft.SqlServer.SendMailTask.dll 中)

語法

'宣告
Property MessageSource As String 
    Get 
    Set
'用途
Dim instance As IDTSSendMailTask 
Dim value As String 

value = instance.MessageSource

instance.MessageSource = value
string MessageSource { get; set; }
property String^ MessageSource {
    String^ get ();
    void set (String^ value);
}
abstract MessageSource : string with get, set
function get MessageSource () : String 
function set MessageSource (value : String)

屬性值

型別:System.String
The message body or the name of the source that contains the message.

請參閱

參考

IDTSSendMailTask 介面

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