SendMailMessageSourceType Enumeration
Specifies the type of the MessageSource property, which contains or points to the body of the e-mail message.
Assembly: Microsoft.SqlServer.SendMailTask (in Microsoft.SqlServer.SendMailTask.dll)
| Member name | Description | |
|---|---|---|
| DirectInput | Specifies that the message source is contained as text in the MessageSource property. | |
| FileConnection | Specifies that the message source is contained in the file named in the MessageSource property. | |
| Variable | Specifies that the message source is contained in the variable named in the MessageSource property. |
The following code sample creates a new SendMailTask that uses the SendMailMessageSourceType enumeration.
Show: