Partager via


Énumération HttpAuthenticationModes

The HttpAuthenticationModes enumeration contains values that specify the HTTP port for HTTP endpoints.

Cette énumération possède un attribut FlagsAttribute qui permet la combinaison d'opérations de bits de ses valeurs membres.

Espace de noms :  Microsoft.SqlServer.Management.Smo
Assembly :  Microsoft.SqlServer.SqlEnum (dans Microsoft.SqlServer.SqlEnum.dll)

Syntaxe

'Déclaration
<FlagsAttribute> _
Public Enumeration HttpAuthenticationModes
'Utilisation
Dim instance As HttpAuthenticationModes
[FlagsAttribute]
public enum HttpAuthenticationModes
[FlagsAttribute]
public enum class HttpAuthenticationModes
[<FlagsAttribute>]
type HttpAuthenticationModes
public enum HttpAuthenticationModes

Membres

Nom de membre Description
Anonymous Value = 1. There is no HTTP security header. A SQL Server user name and password must be specified.
Basic Value = 2. The SQL Server user name is encoded as base64binary.
Digest Value = 4. Security header with MD5 hash.
Integrated Value = 8. Kerberos/NTLM authentication.
Ntlm Value = 16 NTLM authentication.
Kerberos Value = 32 Kerberos.
All Value = 15. All authentication modes are enabled.

Notes

The HttpAuthenticationModes enumeration is a bitflag enumeration. Values can be added to obtain a combination of authentication modes.

The HttpAuthenticationModes enumeration class is served by the HttpAuthenticationModes property.