Table of Contents

Property AuthenticationMethod

Namespace
YndigoBlue.Velocity.Data.SqlServer
Assembly
YndigoBlue.Velocity.dll

AuthenticationMethod

Gets or sets the authentication method used when UseIntegratedSecurity is true.

public SqlServerAuthenticationMethod AuthenticationMethod { get; set; }

Property Value

SqlServerAuthenticationMethod

Remarks

This property is only meaningful when UseIntegratedSecurity is true. When UseIntegratedSecurity is false, standard SQL Server authentication (User ID + Password) is used regardless of this value.

WindowsIntegrated sets Integrated Security=SSPI in the connection string (NTLM / Kerberos, on-premises SQL Server). All other values set Authentication=<method> and target Azure SQL / Azure SQL Managed Instance with Azure Active Directory (Entra ID) authentication.