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 认证,因此连接中不需要用户名和密码。