共用方式為


HttpProtocol.HttpAuthenticationModes 屬性

Gets or sets the authentication type used to authenticate users logging in to the instance of SQL Server through the HTTP port.

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

語法

'宣告
<SfcPropertyAttribute(SfcPropertyFlags.Standalone)> _
Public Property HttpAuthenticationModes As HttpAuthenticationModes 
    Get 
    Set
'用途
Dim instance As HttpProtocol 
Dim value As HttpAuthenticationModes 

value = instance.HttpAuthenticationModes

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

屬性值

型別:Microsoft.SqlServer.Management.Smo.HttpAuthenticationModes
An HttpAuthenticationModes object value that specifies the authentication type used to authenticate users logging in through the HTTP port.

範例

實作端點

請參閱

參考

HttpProtocol 類別

Microsoft.SqlServer.Management.Smo 命名空間