Share via


IDTSSendMailTask.SmtpConnection Property

This API supports the SQL Server 2012 infrastructure and is not intended to be used directly from your code.

Gets or sets the name or IP address of the SMTP server.

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

Syntax

'Declaration
Property SmtpConnection As String 
    Get 
    Set
'Usage
Dim instance As IDTSSendMailTask 
Dim value As String 

value = instance.SmtpConnection

instance.SmtpConnection = value
string SmtpConnection { get; set; }
property String^ SmtpConnection {
    String^ get ();
    void set (String^ value);
}
abstract SmtpConnection : string with get, set
function get SmtpConnection () : String 
function set SmtpConnection (value : String)

Property Value

Type: System.String
The name or IP address of the SMTP server.

See Also

Reference

IDTSSendMailTask Interface

Microsoft.SqlServer.Dts.Tasks.SendMailTask Namespace