Compartir a través de


DeliveryAgentFactory<Manager>.CreateAgent Method

The CreateAgent(SmtpServer) method creates a new DeliveryAgent instance for the specified server.

Namespace:  Microsoft.Exchange.Data.Transport.Delivery
Assembly:  Microsoft.Exchange.Data.Transport (in Microsoft.Exchange.Data.Transport.dll)

Syntax

'Declaration
Public MustOverride Function CreateAgent ( _
    server As SmtpServer _
) As DeliveryAgent
'Usage
Dim instance As DeliveryAgentFactory
Dim server As SmtpServer
Dim returnValue As DeliveryAgent

returnValue = instance.CreateAgent(server)
public abstract DeliveryAgent CreateAgent(
    SmtpServer server
)

Parameters