MsmqTransportBindingElement.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); };
public bool UseActiveDirectory { get; set; }
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
.
Examples
MsmqTransportBindingElement transportBindingElement = new MsmqTransportBindingElement();
transportBindingElement.UseActiveDirectory = true;
Remarks
Message Queuing (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
.NET
피드백
https://aka.ms/ContentUserFeedback
출시 예정: 2024년 내내 콘텐츠에 대한 피드백 메커니즘으로 GitHub 문제를 단계적으로 폐지하고 이를 새로운 피드백 시스템으로 바꿀 예정입니다. 자세한 내용은 다음을 참조하세요.다음에 대한 사용자 의견 제출 및 보기