共用方式為


SPIncomingEmailService class

代表用於內送電子郵件計時器工作Microsoft SharePoint Foundation的服務。

Inheritance hierarchy

System.Object
  Microsoft.SharePoint.Administration.SPAutoSerializingObject
    Microsoft.SharePoint.Administration.SPPersistedObject
      Microsoft.SharePoint.Administration.SPPersistedUpgradableObject
        Microsoft.SharePoint.Administration.SPService
          Microsoft.SharePoint.Administration.SPIncomingEmailService

Namespace:  Microsoft.SharePoint.Administration
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)

Syntax

'宣告
<GuidAttribute("1F503A44-EA73-498E-B002-F6037E004D84")> _
<SharePointPermissionAttribute(SecurityAction.InheritanceDemand, ObjectModel := True)> _
<SharePointPermissionAttribute(SecurityAction.LinkDemand, ObjectModel := True)> _
Public NotInheritable Class SPIncomingEmailService _
    Inherits SPService
'用途
Dim instance As SPIncomingEmailService
[GuidAttribute("1F503A44-EA73-498E-B002-F6037E004D84")]
[SharePointPermissionAttribute(SecurityAction.InheritanceDemand, ObjectModel = true)]
[SharePointPermissionAttribute(SecurityAction.LinkDemand, ObjectModel = true)]
public sealed class SPIncomingEmailService : SPService

備註

內送電子郵件計時器工作只執行服務為使用中的前端網頁伺服器上。SPIncomingEmailService類別儲存內送電子郵件的全伺服器陣列設定。

若要傳回的內送電子郵件服務執行個體的父項服務,請使用SPIncomingEmailServiceInstance類別繼承的Service屬性。您也可以使用SPPersistedObject類別之GetChild方法傳回的內送電子郵件服務,例如: SPFarm.Local.GetChild<SPIncomingEmailService>()。

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.

請參閱

參照

SPIncomingEmailService members

Microsoft.SharePoint.Administration namespace