SqlNetAuthenticationServices

This property enables one or more authentication services, such as TCP/IP with SSL.

Declaration

// C#
public static string SqlNetAuthenticationServices { get; set; }

Property Type

System.String

Default value is NONE.

Valid Values: All, Kerberos5, NTS, TCPS, or NONE.

Note:

ODP.NET Core does not currently support the Kerberos5 value.

Example

//C#
con.SqlNetAuthenticationServices = "(nts, tcps)";