Jaa


HttpProtocol.AuthenticationRealm Property

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

Namespace: Microsoft.SqlServer.Management.Smo
Assembly: Microsoft.SqlServer.Smo (in microsoft.sqlserver.smo.dll)

Syntax

'Declaration
Public Property AuthenticationRealm As String
public string AuthenticationRealm { get; set; }
public:
property String^ AuthenticationRealm {
    String^ get ();
    void set (String^ value);
}
/** @property */
public String get_AuthenticationRealm ()

/** @property */
public void set_AuthenticationRealm (String value)
public function get AuthenticationRealm () : String

public function set AuthenticationRealm (value : String)

Property Value

A String value that contains the authentication realm hint used in the HTTP authentication challenge.

Remarks

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.

This namespace, class, or member is supported only in version 2.0 of the Microsoft .NET Framework.

Example

How to: Create a Database Mirroring Endpoint Service in Visual Basic .NET

Thread Safety

Any public static (Shared in Microsoft Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Platforms

Development Platforms

For a list of the supported platforms, see Hardware and Software Requirements for Installing SQL Server 2005.

Target Platforms

For a list of the supported platforms, see Hardware and Software Requirements for Installing SQL Server 2005.

See Also

Reference

HttpProtocol Class
HttpProtocol Members
Microsoft.SqlServer.Management.Smo Namespace

Other Resources

Implementing Endpoints