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」鍵。

適用於

另請參閱