ConnectionSettings.LoginSecure 属性

定义

如果设置为 true,则使用Windows集成安全性,并忽略登录名和密码。 如果未设置,则使用 Sql Server 身份验证。 异常:ConnectionCannotBeChangedException

public bool LoginSecure { get; set; }
member this.LoginSecure : bool with get, set
Public Property LoginSecure As Boolean

属性值

适用于