SPOutboundMailServiceInstance constructor (String, SPServer)

Initializes a new instance of the SPOutboundMailServiceInstance class based on the specified name and server.

Namespace:  Microsoft.SharePoint.Administration
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)

Syntax

'Declaration
Public Sub New ( _
    name As String, _
    server As SPServer _
)
'Usage
Dim name As String
Dim server As SPServer

Dim instance As New SPOutboundMailServiceInstance(name, server)
public SPOutboundMailServiceInstance(
    string name,
    SPServer server
)

Parameters

  • name
    Type: System.String

    A string that contains the name of the new service.

Remarks

For information about how to set up the SMTP server, see https://technet.microsoft.com/en-us/library/cc288949.aspx.

See also

Reference

SPOutboundMailServiceInstance class

SPOutboundMailServiceInstance members

SPOutboundMailServiceInstance overload

Microsoft.SharePoint.Administration namespace