MsmqTransportElement.UseActiveDirectory Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Returns a Boolean value that indicates whether queue addresses should be converted using Active Directory.
public:
property bool UseActiveDirectory { bool get(); void set(bool value); };
[System.Configuration.ConfigurationProperty("useActiveDirectory", DefaultValue=false)]
public bool UseActiveDirectory { get; set; }
[<System.Configuration.ConfigurationProperty("useActiveDirectory", DefaultValue=false)>]
member this.UseActiveDirectory : bool with get, set
Public Property UseActiveDirectory As Boolean
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
Saran dan Komentar
https://aka.ms/ContentUserFeedback.
Segera hadir: Sepanjang tahun 2024 kami akan menghentikan penggunaan GitHub Issues sebagai mekanisme umpan balik untuk konten dan menggantinya dengan sistem umpan balik baru. Untuk mengetahui informasi selengkapnya, lihat:Kirim dan lihat umpan balik untuk