SPWebApplication.OutboundMailServiceInstance property
取得或設定用於傳送電子郵件的 SMTP 電子郵件服務。
Namespace: Microsoft.SharePoint.Administration
Assembly: Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Syntax
'宣告
Public Property OutboundMailServiceInstance As SPOutboundMailServiceInstance
Get
Set
'用途
Dim instance As SPWebApplication
Dim value As SPOutboundMailServiceInstance
value = instance.OutboundMailServiceInstance
instance.OutboundMailServiceInstance = value
public SPOutboundMailServiceInstance OutboundMailServiceInstance { get; set; }
Property value
Type: Microsoft.SharePoint.Administration.SPOutboundMailServiceInstance
代表 SMTP 電子郵件服務SPOutboundMailServiceInstance物件。