Share via


WSHttpTransportSecurityElement.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

屬性值

指定摘要式驗證或基本驗證之驗證領域的字串。 預設為空字串。

屬性

備註

驗證領域至少會指定負責執行驗證之主機的名稱, 也可以指定具有存取權之使用者的集合。 使用者可以查詢驗證領域,以瞭解可以使用的其中一組使用者名稱和密碼。

適用於