Share via


NetMsmqBindingElement.UseActiveDirectory プロパティ

定義

キューのアドレスを 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

プロパティ値

キューのアドレスを Active Directory を使用して変換する必要がある場合は true。それ以外の場合は false

属性

注釈

MSMQ キューのアドレスは、パス名または直接形式名で構成できます。 直接形式名を使用する場合、MSMQ は、DNS、NetBIOS、または IP を使用してキュー名を解決します。 パス名を使用する場合、MSMQ は、Active Directory を使用してキュー名を解決します。

既定では、Windows Communication Foundation (WCF) キューに登録されたトランスポートは、メッセージ キューの URI を直接形式名に変換します。 UseActiveDirectory プロパティを true に設定すると、アプリケーションは、キューに置かれているトランスポートが DNS、NetBIOS、または IP ではなく Active Directory を使用してキュー名を解決する必要があることを指定できます。

適用対象