SqlConnectionStringBuilder.Authentication 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 the authentication method used for Connect with Microsoft Entra to Azure SQL resources.
public:
property Microsoft::Data::SqlClient::SqlAuthenticationMethod Authentication { Microsoft::Data::SqlClient::SqlAuthenticationMethod get(); void set(Microsoft::Data::SqlClient::SqlAuthenticationMethod value); };
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
The authentication method of the connection string.
Remarks
For more information, see Connect to Azure SQL with Microsoft Entra authentication and SqlClient.