HttpProtocol.AuthenticationRealm 属性

Gets or sets an authentication realm hint used in the HTTP authentication challenge.

命名空间:  Microsoft.SqlServer.Management.Smo
程序集:  Microsoft.SqlServer.Smo(在 Microsoft.SqlServer.Smo.dll 中)

语法

声明
<SfcPropertyAttribute(SfcPropertyFlags.Standalone)> _
Public Property AuthenticationRealm As String 
    Get 
    Set
用法
Dim instance As HttpProtocol 
Dim value As String 

value = instance.AuthenticationRealm

instance.AuthenticationRealm = value
[SfcPropertyAttribute(SfcPropertyFlags.Standalone)]
public string AuthenticationRealm { get; set; }
[SfcPropertyAttribute(SfcPropertyFlags::Standalone)]
public:
property String^ AuthenticationRealm {
    String^ get ();
    void set (String^ value);
}
[<SfcPropertyAttribute(SfcPropertyFlags.Standalone)>]
member AuthenticationRealm : string with get, set
function get AuthenticationRealm () : String 
function set AuthenticationRealm (value : String)

属性值

类型:System.String
A String value that contains the authentication realm hint used in the HTTP authentication challenge.

注释

The client sends a SOAP request to the HTTP endpoint. The AuthenticationRealm property value is included in the HTTP authentication challenge that is returned to the client.

The AuthenticationRealm property is required only when the HttpAuthenticationModes property is set to the value Digest.

示例

实现端点

请参阅

参考

HttpProtocol 类

Microsoft.SqlServer.Management.Smo 命名空间