SPIncomingEmailServiceInstance class

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

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

[SharePointPermissionAttribute(SecurityAction.LinkDemand, ObjectModel = true)]
[SharePointPermissionAttribute(SecurityAction.InheritanceDemand, ObjectModel = true)]
public sealed class SPIncomingEmailServiceInstance : SPServiceInstance

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

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.