SqlConnectionStringBuilder.Authentication Property

Definition

Gets or sets the authentication method used for Connecting to SQL Database By Using Azure Active Directory Authentication.

public Microsoft.Data.SqlClient.SqlAuthenticationMethod Authentication { get; set; }
member this.Authentication : Microsoft.Data.SqlClient.SqlAuthenticationMethod with get, set
Public Property Authentication As SqlAuthenticationMethod

Property Value

SqlAuthenticationMethod

The authentication method of the connection string.

Remarks

For more information, see Using Azure Active Directory authentication with SqlClient.

Applies to