SMOServerConn.UseWindowsAuthentication 屬性
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
取得或設定布林值,這個布林值表示是否使用 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
屬性值
如果在連接中使用 Windows 驗證,則為 true;否則為 false。
備註
此值會決定是否需要使用者名稱或密碼屬性。 值為 true 表示正在使用 Windows 驗證,因此連接中不需要使用者名稱和密碼。