Partilhar via


SPIncomingEmailService Constructor (String, SPFarm)

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

Namespace:  Microsoft.SharePoint.Administration
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Available in Sandboxed Solutions: No

Syntax

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

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

Parameters

  • name
    Type: System.String

    A string that contains the name for the new service.

See Also

Reference

SPIncomingEmailService Class

SPIncomingEmailService Members

SPIncomingEmailService Overload

Microsoft.SharePoint.Administration Namespace