Partager via


IMessageSettings.HostName Property

 

Gets or sets the host name to which the message is sent. This property must be set or message validation will fail.

Namespace:   Microsoft.ConfigurationManagement.Messaging.Framework
Assembly:  Microsoft.ConfigurationManagement.Messaging (in Microsoft.ConfigurationManagement.Messaging.dll)

Syntax

[MessagePropertyAttribute(MessagePropertyImportance.Required)]
string HostName { get; set; }
[MessagePropertyAttribute(MessagePropertyImportance::Required)]
property String^ HostName {
    String^ get();
    void set(String^ value);
}
<MessagePropertyAttribute(MessagePropertyImportance.Required)>
Property HostName As String

Property Value

Type: System.String

Host name to send the message to.

See Also

IMessageSettings Interface
Microsoft.ConfigurationManagement.Messaging.Framework Namespace

Return to top