Compartilhar via


Propriedade do RDL IDTSSendMailTask.SmtpConnection

Essa API oferece suporte à infraestrutura do SQL Server 2012 e não se destina a ser usada diretamente no seu código.

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

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

Sintaxe

'Declaração
Property SmtpConnection As String 
    Get 
    Set
'Uso
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)

Valor da propriedade

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

Consulte também

Referência

IDTSSendMailTask Interface

Namespace Microsoft.SqlServer.Dts.Tasks.SendMailTask