MSMQManagement.Machine
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 Machine property of the MSMQManagement object returns the name of the computer used to initialize the object.
Data type: | String |
Run-time access: | Read-only |
Property Machine As String
Property Value
A String that contains the computer name.
Remarks
This property corresponds to the name of the computer where the queue referenced by the MSMQManagement object resides.
The name of the computer can be provided explicitly in the call to MSMQManagement.Init, or it can be derived by Message Queuing if the computer name was not provided during initialization (the computer name is not needed when the queue resides on the local computer, for example, when referencing outgoing queues).
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