SPWebApplication.OutboundMailServiceInstance 属性
获取或设置用于发送电子邮件的 SMTP 电子邮件服务。
命名空间: Microsoft.SharePoint.Administration
程序集: Microsoft.SharePoint(位于 Microsoft.SharePoint.dll 中)
语法
声明
Public Property OutboundMailServiceInstance As SPOutboundMailServiceInstance
Get
Set
用法
Dim instance As SPWebApplication
Dim value As SPOutboundMailServiceInstance
value = instance.OutboundMailServiceInstance
instance.OutboundMailServiceInstance = value
public SPOutboundMailServiceInstance OutboundMailServiceInstance { get; set; }
属性值
类型:Microsoft.SharePoint.Administration.SPOutboundMailServiceInstance
SPOutboundMailServiceInstance 对象,该对象表示的 SMTP 电子邮件服务。