Share via


SMTPConn.SmtpServer Property

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

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

Syntax

'Declaration
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)

Property Value

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

Thread Safety

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.

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