次の方法で共有


SPOutboundMailService Class

Represents a Simple Mail Transfer Protocol (SMTP) service that is used in Windows SharePoint Services to send outbound mail.

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.LinkDemand, ObjectModel := True)> _
<SharePointPermissionAttribute(SecurityAction.InheritanceDemand, ObjectModel := True)> _
Public NotInheritable Class SPOutboundMailService _
    Inherits SPService

Dim instance As SPOutboundMailService
[GuidAttribute("2F4307E2-69AC-4213-9C71-F12554DE7BC8")]
[SharePointPermissionAttribute(SecurityAction.LinkDemand, ObjectModel = true)]
[SharePointPermissionAttribute(SecurityAction.InheritanceDemand, ObjectModel = true)]
public sealed class SPOutboundMailService : SPService

Remarks

To return the parent service of an outbound e-mail service instance, use the inherited Service property of the SPOutboundMailServiceInstance class.

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

SPOutboundMailService Members

Microsoft.SharePoint.Administration Namespace