Partager via


SMTPConn Constructor (String, Boolean, Boolean)

Espace de noms: Microsoft.SqlServer.Dts.ManagedConnections
Assembly: Microsoft.SqlServer.ManagedConnections (in microsoft.sqlserver.managedconnections.dll)

Syntaxe

'Déclaration
Public Sub New ( _
    strSmtpServer As String, _
    useWindowsAuthentication As Boolean, _
    EnableSsl As Boolean _
)
public SMTPConn (
    string strSmtpServer,
    bool useWindowsAuthentication,
    bool EnableSsl
)
public:
SMTPConn (
    String^ strSmtpServer, 
    bool useWindowsAuthentication, 
    bool EnableSsl
)
public SMTPConn (
    String strSmtpServer, 
    boolean useWindowsAuthentication, 
    boolean EnableSsl
)
public function SMTPConn (
    strSmtpServer : String, 
    useWindowsAuthentication : boolean, 
    EnableSsl : boolean
)

Paramètres

  • strSmtpServer
    A String that contains the SMTP server name.
  • useWindowsAuthentication
    A Boolean indicating that Windows Authentication is used to authenticate access to the server.
  • EnableSsl
    A Boolean indicating whether to encrypt communication using Secure Sockets Layer (SSL) when sending e-mail messages.

Plateformes

Plateformes de développement

Pour obtenir la liste des plateformes prises en charge, consultez Configuration matérielle et logicielle requise pour l'installation de SQL Server 2005.

Plateformes cibles

Pour obtenir la liste des plateformes prises en charge, consultez Configuration matérielle et logicielle requise pour l'installation de SQL Server 2005.

Voir aussi

Référence

SMTPConn Class
SMTPConn Members
Microsoft.SqlServer.Dts.ManagedConnections Namespace