SendMailMessageSourceType Enumeration

 

Specifies the type of the MessageSource property, which contains or points to the body of the e-mail message.

Namespace:   Microsoft.SqlServer.Dts.Tasks.SendMailTask
Assembly:  Microsoft.SqlServer.SendMailTask (in Microsoft.SqlServer.SendMailTask.dll)

public enum class SendMailMessageSourceType

Member nameDescription
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.

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