SendMailTask Constructor ()

 

Initializes a new instance of the SendMailTask class.

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

public:
SendMailTask()

The code sample shows how to call the task constructor. However, in most cases, you will be creating the task as a member of a package. For more information on casting the task, see the remarks in Add.

No code example is currently available or this language may not be supported.

The properties and methods of the SendMailTask are available using the TaskHost variable, th.

The following code sample creates a new SendMailTask by using the constructor.

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