SPOutboundMailService class
代表用於Microsoft SharePoint Foundation用來傳送輸出郵件的簡易郵件傳送通訊協定 (SMTP) 服務。
Inheritance hierarchy
System.Object
Microsoft.SharePoint.Administration.SPAutoSerializingObject
Microsoft.SharePoint.Administration.SPPersistedObject
Microsoft.SharePoint.Administration.SPPersistedUpgradableObject
Microsoft.SharePoint.Administration.SPService
Microsoft.SharePoint.Administration.SPOutboundMailService
Namespace: Microsoft.SharePoint.Administration
Assembly: Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Syntax
'宣告
<GuidAttribute("2F4307E2-69AC-4213-9C71-F12554DE7BC8")> _
<SharePointPermissionAttribute(SecurityAction.InheritanceDemand, ObjectModel := True)> _
<SharePointPermissionAttribute(SecurityAction.LinkDemand, ObjectModel := True)> _
Public NotInheritable Class SPOutboundMailService _
Inherits SPService
'用途
Dim instance As SPOutboundMailService
[GuidAttribute("2F4307E2-69AC-4213-9C71-F12554DE7BC8")]
[SharePointPermissionAttribute(SecurityAction.InheritanceDemand, ObjectModel = true)]
[SharePointPermissionAttribute(SecurityAction.LinkDemand, ObjectModel = true)]
public sealed class SPOutboundMailService : SPService
備註
若要傳回的外送電子郵件服務執行個體的父項服務,請使用SPOutboundMailServiceInstance類別繼承的Service屬性。
Thread safety
Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.