SqlConnectionStringBuilder.IntegratedSecurity 属性

定义

获取或设置一个布尔值,该值指示是否在连接(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”键。

适用于

另请参阅