語言

HttpTransportSecurityElement.Realm 屬性

定義

取得或設定驗證領域,用於摘要或基本認證。

public:
 property System::String ^ Realm { System::String ^ get(); void set(System::String ^ value); };
[System.Configuration.ConfigurationProperty("realm", DefaultValue="")]
[System.Configuration.StringValidator(MinLength=0)]
public string Realm { get; set; }
[<System.Configuration.ConfigurationProperty("realm", DefaultValue="")>]
[<System.Configuration.StringValidator(MinLength=0)>]
member this.Realm : string with get, set
Public Property Realm As String

屬性值

認證領域。 預設值為「」。

屬性

備註

認證領域是一個包含至少執行驗證主機名稱的字串。 它也可以指定一組有權限存取的使用者集合。

使用者可以查詢認證領域,以了解多種可能的使用者名稱和密碼中可使用的哪一種。

適用於