SPOutboundMailService class
Representa um serviço de protocolo de transferência de correio simples (SMTP) é usado em Microsoft SharePoint Foundation para enviar emails de saída.
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
'Declaração
<GuidAttribute("2F4307E2-69AC-4213-9C71-F12554DE7BC8")> _
<SharePointPermissionAttribute(SecurityAction.InheritanceDemand, ObjectModel := True)> _
<SharePointPermissionAttribute(SecurityAction.LinkDemand, ObjectModel := True)> _
Public NotInheritable Class SPOutboundMailService _
Inherits SPService
'Uso
Dim instance As SPOutboundMailService
[GuidAttribute("2F4307E2-69AC-4213-9C71-F12554DE7BC8")]
[SharePointPermissionAttribute(SecurityAction.InheritanceDemand, ObjectModel = true)]
[SharePointPermissionAttribute(SecurityAction.LinkDemand, ObjectModel = true)]
public sealed class SPOutboundMailService : SPService
Comentários
Para retornar o serviço pai de uma instância do serviço de email de saída, use a propriedade herdada Service da classe SPOutboundMailServiceInstance .
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.