ResolvedMessageEventSource.SetRoutingOverride method
The SetRoutingOverride(EnvelopeRecipient, RoutingOverride) method sets the routing parameters for a recipient to the specified RoutingOverride.
Namespace: Microsoft.Exchange.Data.Transport.Routing
Assembly: Microsoft.Exchange.Data.Transport (in Microsoft.Exchange.Data.Transport.dll)
Syntax
'Declaration
Public MustOverride Sub SetRoutingOverride ( _
recipient As EnvelopeRecipient, _
routingOverride As RoutingOverride _
)
'Usage
Dim instance As ResolvedMessageEventSource
Dim recipient As EnvelopeRecipient
Dim routingOverride As RoutingOverride
instance.SetRoutingOverride(recipient, _
routingOverride)
public abstract void SetRoutingOverride(
EnvelopeRecipient recipient,
RoutingOverride routingOverride
)
Parameters
recipient
Type: Microsoft.Exchange.Data.Transport.EnvelopeRecipientThe recipient to which RoutingOverride is applied.
routingOverride
Type: Microsoft.Exchange.Data.Transport.RoutingOverrideRouting Override parameters. The RoutingDomain property corresponds to the routing domain to which e-mail is redirected. To reset RoutingOverride, pass null for the routingOverride parameter.
See also
Reference
ResolvedMessageEventSource class