Поделиться через


SMTPConn Constructor (String, Boolean, Boolean)

Пространство имен: Microsoft.SqlServer.Dts.ManagedConnections
Сборка: Microsoft.SqlServer.ManagedConnections (in microsoft.sqlserver.managedconnections.dll)

Синтаксис

'Декларация
Public Sub New ( _
    strSmtpServer As String, _
    useWindowsAuthentication As Boolean, _
    EnableSsl As Boolean _
)
public SMTPConn (
    string strSmtpServer,
    bool useWindowsAuthentication,
    bool EnableSsl
)
public:
SMTPConn (
    String^ strSmtpServer, 
    bool useWindowsAuthentication, 
    bool EnableSsl
)
public SMTPConn (
    String strSmtpServer, 
    boolean useWindowsAuthentication, 
    boolean EnableSsl
)
public function SMTPConn (
    strSmtpServer : String, 
    useWindowsAuthentication : boolean, 
    EnableSsl : boolean
)

Параметры

  • strSmtpServer
    A String that contains the SMTP server name.
  • useWindowsAuthentication
    A Boolean indicating that Windows Authentication is used to authenticate access to the server.
  • EnableSsl
    A Boolean indicating whether to encrypt communication using Secure Sockets Layer (SSL) when sending e-mail messages.

Платформы

Платформы разработки

Список поддерживаемых платформ см. в разделе Hardware and Software Requirements for Installing SQL Server 2005.

Целевые платформы

Список поддерживаемых платформ см. в разделе Hardware and Software Requirements for Installing SQL Server 2005.

См. также

Справочник

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