SMTPConn Constructor (String)
Initializes a new instance of the SMTPConn class, initializing the SMPT server name.
Espacio de nombres: Microsoft.SqlServer.Dts.ManagedConnections
Ensamblado: Microsoft.SqlServer.ManagedConnections (en Microsoft.SqlServer.ManagedConnections.dll)
Sintaxis
'Declaración
Public Sub New ( _
strSmtpServer As String _
)
'Uso
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
)
Parámetros
- strSmtpServer
Tipo: System.String
A String that contains the SMTP server name.
Vea también
Referencia
Espacio de nombres Microsoft.SqlServer.Dts.ManagedConnections