SendMailTask::MessageSource Property

 

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

Namespace:   Microsoft.SqlServer.Dts.Tasks.SendMailTask
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.

The 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.

No code example is currently available or this language may not be supported.
Return to top
Show: