Partager via


HttpProtocol.AuthenticationRealm Property

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

Espace de noms: Microsoft.SqlServer.Management.Smo
Assembly: Microsoft.SqlServer.Smo (in microsoft.sqlserver.smo.dll)

Syntaxe

'Déclaration
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)

Valeur de propriété

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

Notes

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.

Cet espace de noms, cette classe ou ce membre est pris en charge uniquement par la version 2.0 de Microsoft .NET Framework.

Exemple

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

Sécurité des threads

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.

Plateformes

Plateformes de développement

Pour obtenir la liste des plateformes prises en charge, consultez Configuration matérielle et logicielle requise pour l'installation de SQL Server 2005.

Plateformes cibles

Pour obtenir la liste des plateformes prises en charge, consultez Configuration matérielle et logicielle requise pour l'installation de SQL Server 2005.

Voir aussi

Référence

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

Autres ressources

Implementing Endpoints