MsmqTransportElement.UseActiveDirectory Property

Definition

Returns a Boolean value that indicates whether queue addresses should be converted using Active Directory.

[System.Configuration.ConfigurationProperty("useActiveDirectory", DefaultValue=false)]
public bool UseActiveDirectory { get; set; }

Property Value

true if queue addresses should be converted using Active Directory; otherwise, false.

Attributes

Remarks

MSMQ queue addresses can consist of path names or direct format names. With a direct format name, MSMQ resolves the queue name using DNS, NetBIOS, or IP. With a path name, MSMQ resolves the queue name using Active Directory.

By default, the Windows Communication Foundation (WCF) queued transport converts the URI of a message queue to a direct format name. By setting the UseActiveDirectory property to true, an application can specify that the queued transport should resolve the computer name using Active Directory rather than DNS, NetBIOS, or IP.

Applies to

Produkt Versionen
.NET Framework 3.0, 3.5, 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1