共用方式為


SPIncomingEmailServiceInstance Class

Represents an instance of the incoming e-mail service that is used in Microsoft SharePoint Foundation for incoming e-mail timer jobs.

Inheritance Hierarchy

System.Object
  Microsoft.SharePoint.Administration.SPAutoSerializingObject
    Microsoft.SharePoint.Administration.SPPersistedObject
      Microsoft.SharePoint.Administration.SPPersistedUpgradableObject
        Microsoft.SharePoint.Administration.SPServiceInstance
          Microsoft.SharePoint.Administration.SPIncomingEmailServiceInstance

Namespace:  Microsoft.SharePoint.Administration
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Available in Sandboxed Solutions: No

Syntax

'Declaration
<GuidAttribute("05666005-EDD9-43C4-BC80-A26D119B2419")> _
<SharePointPermissionAttribute(SecurityAction.LinkDemand, ObjectModel := True)> _
<SharePointPermissionAttribute(SecurityAction.InheritanceDemand, ObjectModel := True)> _
Public NotInheritable Class SPIncomingEmailServiceInstance _
    Inherits SPServiceInstance
'Usage
Dim instance As SPIncomingEmailServiceInstance
[GuidAttribute("05666005-EDD9-43C4-BC80-A26D119B2419")]
[SharePointPermissionAttribute(SecurityAction.LinkDemand, ObjectModel = true)]
[SharePointPermissionAttribute(SecurityAction.InheritanceDemand, ObjectModel = true)]
public sealed class SPIncomingEmailServiceInstance : SPServiceInstance

Remarks

Use the SPIncomingEmailServiceInstance constructor to return the incoming e-mail service instance that is used on a server.

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.

See Also

Reference

SPIncomingEmailServiceInstance Members

Microsoft.SharePoint.Administration Namespace