SqlConnectionStringBuilder.IntegratedSecurity Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Gets or sets a Boolean value that indicates whether User ID and Password are specified in the connection (when false
) or whether the current Windows account credentials are used for authentication (when 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
Property Value
The value of the IntegratedSecurity property, or false
if none has been supplied.
Remarks
This property corresponds to the "Integrated Security" and "trusted_connection" keys within the connection string.