SPVirtualServer.OutboundSmtpServer property
NOTE: This API is now obsolete.
已過時。取得用於外送電子郵件的簡易郵件傳送通訊協定 (SMTP) 伺服器的名稱。
Namespace: Microsoft.SharePoint.Administration
Assembly: Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Syntax
'宣告
<ObsoleteAttribute("Use SPWebApplication or SPIisSettings instead.", _
False)> _
Public ReadOnly Property OutboundSmtpServer As String
Get
'用途
Dim instance As SPVirtualServer
Dim value As String
value = instance.OutboundSmtpServer
[ObsoleteAttribute("Use SPWebApplication or SPIisSettings instead.",
false)]
public string OutboundSmtpServer { get; }
Property value
Type: System.String
包含的 SMTP 伺服器名稱的字串。