Share via


SPOutboundMailService constructor (String, SPFarm)

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

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

Syntax

'Declaration
Public Sub New ( _
    name As String, _
    farm As SPFarm _
)
'Usage
Dim name As String
Dim farm As SPFarm

Dim instance As New SPOutboundMailService(name, farm)
public SPOutboundMailService(
    string name,
    SPFarm farm
)

Parameters

  • name
    Type: System.String

    A string that contains the name of the new service.

See also

Reference

SPOutboundMailService class

SPOutboundMailService members

SPOutboundMailService overload

Microsoft.SharePoint.Administration namespace