SmtpServiceCollection.Add Method (SmtpService)
NOTE: This API is now obsolete.
Obsolete.
Namespace: Microsoft.SharePoint.Portal.Topology
Assembly: Microsoft.SharePoint.Portal (in Microsoft.SharePoint.Portal.dll)
Syntax
'Declaration
<ObsoleteAttribute> _
Public Function Add ( _
smtpService As SmtpService _
) As SmtpService
'Usage
Dim instance As SmtpServiceCollection
Dim smtpService As SmtpService
Dim returnValue As SmtpService
returnValue = instance.Add(smtpService)
[ObsoleteAttribute]
public SmtpService Add(
SmtpService smtpService
)
Parameters
- smtpService
Type: Microsoft.SharePoint.Portal.Topology.SmtpService
Return Value
Type: Microsoft.SharePoint.Portal.Topology.SmtpService