SqlConnectionStringBuilder.IntegratedSecurity 属性
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
获取或设置一个布尔值,该值指示是否在连接(false时)或当前 Windows 帐户凭据是否用于身份验证(true时)。
public:
property bool IntegratedSecurity { bool get(); void set(bool value); };
public bool IntegratedSecurity { get; set; }
member this.IntegratedSecurity : bool with get, set
Public Property IntegratedSecurity As Boolean
属性值
属性的值 IntegratedSecurity ,或者 false 未提供任何值。
注解
此属性对应于连接字符串中的“集成安全性”和“trusted_connection”键。