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


SMTPConn.SmtpServer Property

Gets or sets the name used to connect to the SMTP server.

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

Синтаксис

'Декларация
Public Property SmtpServer As String
public string SmtpServer { get; set; }
public:
property String^ SmtpServer {
    String^ get ();
    void set (String^ value);
}
/** @property */
public String get_SmtpServer ()

/** @property */
public void set_SmtpServer (String value)
public function get SmtpServer () : String

public function set SmtpServer (value : String)

Значение свойства

A String that contains the name used to connect to the SMTP server.

Синхронизация потоков

Any public static (Shared in Microsoft Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Платформы

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

Список поддерживаемых платформ см. в разделе 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