SPIncomingEmailServiceInstance Constructor (String, SPServer, SPIncomingEmailService)
Initializes a new instance of the SPIncomingEmailServiceInstance class based on the specified service instance name, server, and incoming e-mail service.
Namespace: Microsoft.SharePoint.Administration
Assembly: Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Available in Sandboxed Solutions: No
Syntax
'Declaration
Public Sub New ( _
name As String, _
server As SPServer, _
service As SPIncomingEmailService _
)
'Usage
Dim name As String
Dim server As SPServer
Dim service As SPIncomingEmailService
Dim instance As New SPIncomingEmailServiceInstance(name, server, _
service)
public SPIncomingEmailServiceInstance(
string name,
SPServer server,
SPIncomingEmailService service
)
Parameters
name
Type: System.StringA string that contains the name of the new service.
server
Type: Microsoft.SharePoint.Administration.SPServerAn SPServer object that represents the server on which the service instance is created.
service
Type: Microsoft.SharePoint.Administration.SPIncomingEmailServiceAn SPIncomingEmailService object that represents the incoming e-mail service.
See Also
Reference
SPIncomingEmailServiceInstance Class
SPIncomingEmailServiceInstance Members