SMTPConn.SmtpServer 属性
Gets or sets the name used to connect to the SMTP server.
命名空间: Microsoft.SqlServer.Dts.ManagedConnections
程序集: Microsoft.SqlServer.ManagedConnections(在 Microsoft.SqlServer.ManagedConnections.dll 中)
语法
声明
Public Property SmtpServer As String
Get
Set
用法
Dim instance As SMTPConn
Dim value As String
value = instance.SmtpServer
instance.SmtpServer = value
public string SmtpServer { get; set; }
public:
property String^ SmtpServer {
String^ get ();
void set (String^ value);
}
member SmtpServer : string with get, set
function get SmtpServer () : String
function set SmtpServer (value : String)
属性值
类型:System.String
A String that contains the name used to connect to the SMTP server.