Share via


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)

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