Share via


HttpAuthenticationModes 列舉

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

此列舉有一個允許其成員值為位元組合的 FlagsAttribute 屬性。

命名空間:  Microsoft.SqlServer.Management.Smo
組件:  Microsoft.SqlServer.SqlEnum (在 Microsoft.SqlServer.SqlEnum.dll 中)

語法

'宣告
<FlagsAttribute> _
Public Enumeration HttpAuthenticationModes
'用途
Dim instance As HttpAuthenticationModes
[FlagsAttribute]
public enum HttpAuthenticationModes
[FlagsAttribute]
public enum class HttpAuthenticationModes
[<FlagsAttribute>]
type HttpAuthenticationModes
public enum HttpAuthenticationModes

成員

成員名稱 說明
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.

備註

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.