SMOServerConn.UseWindowsAuthentication 屬性

定義

取得或設定布林值,這個布林值表示是否使用 Windows 驗證進行連接。

public:
 property bool UseWindowsAuthentication { bool get(); void set(bool value); };
public bool UseWindowsAuthentication { get; set; }
member this.UseWindowsAuthentication : bool with get, set
Public Property UseWindowsAuthentication As Boolean

屬性值

Boolean

如果在連接中使用 Windows 驗證,則為 true;否則為 false。

備註

此值會決定是否需要使用者名稱或密碼屬性。 值為 true 表示正在使用 Windows 驗證,因此連接中不需要使用者名稱和密碼。

適用於