System.Messaging Reference (Document! X Sample)



MachineName Property (MessageQueueCriteria)
Gets or sets the computer name by which to filter queues in the network.
Syntax
'Declaration
 
Public Property MachineName As String
'Usage
 
Dim instance As MessageQueueCriteria
Dim value As String
 
instance.MachineName = value
 
value = instance.MachineName
public string MachineName {get; set;}
public:
property String^ MachineName {
   String^ get();
   void set (    String^ value);
}

Property Value

The server name of the computer on which the queues reside.
Exceptions
ExceptionDescription
The application did not set the MachineName property before reading it.-or- The computer name syntax is invalid.
Requirements

Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also