共用方式為


SMTPConn Constructor (String)

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

命名空間: Microsoft.SqlServer.Dts.ManagedConnections
組件: Microsoft.SqlServer.ManagedConnections (in microsoft.sqlserver.managedconnections.dll)

語法

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

參數

  • strSmtpServer
    A String that contains the SMTP server name.

平台

開發平台

如需受支援的平台清單,請參閱<安裝 SQL Server 2005 的硬體和軟體需求>。

目標平台

如需受支援的平台清單,請參閱<安裝 SQL Server 2005 的硬體和軟體需求>。

請參閱

參考

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