Compartir a través de


SMTPConn.EnableSsl Propiedad

Gets or sets a Boolean indicating whether to encrypt communication using Secure Sockets Layer (SSL) when sending e-mail messages.

Espacio de nombres:  Microsoft.SqlServer.Dts.ManagedConnections
Ensamblado:  Microsoft.SqlServer.ManagedConnections (en Microsoft.SqlServer.ManagedConnections.dll)

Sintaxis

'Declaración
Public Property EnableSsl As Boolean 
    Get 
    Set
'Uso
Dim instance As SMTPConn 
Dim value As Boolean 

value = instance.EnableSsl

instance.EnableSsl = value
public bool EnableSsl { get; set; }
public:
property bool EnableSsl {
    bool get ();
    void set (bool value);
}
member EnableSsl : bool with get, set
function get EnableSsl () : boolean 
function set EnableSsl (value : boolean)

Valor de la propiedad

Tipo: System.Boolean
true indicates that communication is encrypted, using Secure Sockets Layer (SSL) when sending e-mail messages. false indicates that encryption is not used.

Vea también

Referencia

SMTPConn Clase

Espacio de nombres Microsoft.SqlServer.Dts.ManagedConnections