Delen via


MSMQOutgoingQueueManagement.NextHops

 

Applies To: Windows 10, Windows 7, Windows 8, Windows 8.1, Windows Server 2008, Windows Server 2008 R2, Windows Server 2012, Windows Server 2012 R2, Windows Server Technical Preview, Windows Vista

(Introduced in MSMQ 3.0.). The NextHops property of the MSMQOutgoingQueueManagement object, which represents the state of an outgoing queue, returns the address for routing messages in the outgoingqueue to the target computer in the next hop. If the outgoing queue is in the process of being connected, that is, in the MQ_QUEUE_STATE_WAITING state, a list of possible addresses is returned in the form of an array of strings.

Data type: Variant
Run-time access: Read-only
Property NextHops As Variant  

Property Value

A Variant containing a string or an array of strings. Each string can be in one of the following formats:

IP = <IP address>  
IPX = <IPX address>  
FOREIGN = <GUID of foreign site or foreign CN>  

Remarks

When using API functions, the equivalent property is PROPID_MGMT_QUEUE_NEXTHOPS.

Requirements

Windows NT/2000/XP: Included in Windows XP and Windows Server 2003.

Windows 95/98/Me: Unsupported.

Header: Declared in Mqoai.h.

Library: Use Mqoa.lib.

See Also

MSMQOutgoingQueueManagement
PROPID_MGMT_QUEUE_NEXTHOPS