Share via


SMTPConn Constructor (String)

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

Namespace: Microsoft.SqlServer.Dts.ManagedConnections
Assembly: Microsoft.SqlServer.ManagedConnections (in microsoft.sqlserver.managedconnections.dll)

Syntax

'Declaration
Public Sub New ( _
    strSmtpServer As String _
)
public SMTPConn (
    string strSmtpServer
)
public:
SMTPConn (
    String^ strSmtpServer
)
public SMTPConn (
    String strSmtpServer
)
public function SMTPConn (
    strSmtpServer : String
)

Parameters

  • strSmtpServer
    A String that contains the SMTP server name.

Platforms

Development Platforms

For a list of the supported platforms, see Hardware and Software Requirements for Installing SQL Server 2005.

Target Platforms

For a list of the supported platforms, see Hardware and Software Requirements for Installing SQL Server 2005.

See Also

Reference

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