SendMailTask::MessageSource Property
Gets or sets the message body or the name of the source that contains the message body.
Assembly: Microsoft.SqlServer.SendMailTask (in Microsoft.SqlServer.SendMailTask.dll)
public: property String^ MessageSource { virtual String^ get() sealed; virtual void set(String^ value) sealed; }
Property Value
Type: System::String^A String containing the message text or the name of the source that contains the message.
Implements
IDTSSendMailTask::MessageSourceThe type of message source is specified by the MessageSourceType property.
The following code sample creates, configures, and executes a new SendMailTask that uses the MessageSource property.
Show: