Constructeur SMTPConn (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 (en Microsoft.SqlServer.ManagedConnections.dll)
Syntaxe
'Déclaration
Public Sub New ( _
strSmtpServer As String _
)
'Utilisation
Dim strSmtpServer As String
Dim instance As New SMTPConn(strSmtpServer)
public SMTPConn(
string strSmtpServer
)
public:
SMTPConn(
String^ strSmtpServer
)
new :
strSmtpServer:string -> SMTPConn
public function SMTPConn(
strSmtpServer : String
)
Paramètres
- strSmtpServer
Type : System. . :: . .String
A String that contains the SMTP server name.
Voir aussi