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.