Platform SDK: SMTP Server Events

IMailTransportRouterReset::ResetRoutes

[This is preliminary documentation and subject to change.]

The IMailTransportRouterReset::ResetRoutes method is called by a router sink to notify the Advanced Queue that the internal queues should be reset and rebuilt.

HRESULT ResetRoutes( [in] DWORD dwResetType);
dwResetType
The type of reset to perform. This value should be one of the following defined constants:
Constant Value Description
RESET_NEXT_HOPS 0 Reset (and rebuild) next hop queues.
RESET_MESSAGE_TYPES 1 Reset (rebuild) message type queues.

Return Values

Value Description
S_OK Success. Routes will be reset.

Remarks

A router sink can request that the Advanced Queue reset its internal queues using this method. You can have either the message type queues reset, or the next-hop queues.