IDTSSendMailTask.SmtpConnection 属性
此 API 支持 SQL Server 2012 基础结构,但不能通过代码直接使用。
Gets or sets the name or IP address of the SMTP server.
命名空间: Microsoft.SqlServer.Dts.Tasks.SendMailTask
程序集: Microsoft.SqlServer.SendMailTask(在 Microsoft.SqlServer.SendMailTask.dll 中)
语法
声明
Property SmtpConnection As String
Get
Set
用法
Dim instance As IDTSSendMailTask
Dim value As String
value = instance.SmtpConnection
instance.SmtpConnection = value
string SmtpConnection { get; set; }
property String^ SmtpConnection {
String^ get ();
void set (String^ value);
}
abstract SmtpConnection : string with get, set
function get SmtpConnection () : String
function set SmtpConnection (value : String)
属性值
类型:System.String
The name or IP address of the SMTP server.