Partager via


SMTPConn Constructor (String)

Initializes a new instance of the SMTPConn class, initializing the SMPT server name.

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 _
)
public SMTPConn (
    string strSmtpServer
)
public:
SMTPConn (
    String^ strSmtpServer
)
public SMTPConn (
    String strSmtpServer
)
public function SMTPConn (
    strSmtpServer : String
)

Paramètres

  • strSmtpServer
    A String that contains the SMTP server name.

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