Redigera

Dela via


SqlConnectionStringBuilder.IntegratedSecurity Property

Definition

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.

Applies to

See also