语言

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

属性值

如果连接中使用了 Windows 认证,则为 true;否则为 false。

注解

该值决定是否需要用户名或密码属性。 值 表示true正在使用 Windows 认证,因此连接中不需要用户名和密码。

适用于