Microsoft.Data.SqlClient.LocalAppContextSwitches
This class provides immutable access to the app context switches used
throughout the codebase. Each switch value is read once (on first access)
and cached for future access. Most switch values are obtained solely from
the AppContext, but some switches may use other mechanisms to determine
their values as well (e.g. environment variables).
namespace Microsoft.Data.SqlClient
{
internal static class LocalAppContextSwitches
{
public static bool DisableTnirByDefault { get; }
public static bool EnableMultiSubnetFailoverByDefault { get; }
public static bool GlobalizationInvariantMode { get; }
public static bool IgnoreServerProvidedFailoverPartner { get; }
public static bool UseLegacyFailoverAlternationOnLoginSqlErrors { get; }
public static bool LegacyRowVersionNullBehavior { get; }
public static bool LegacyVarTimeZeroScaleBehaviour { get; }
public static bool MakeReadAsyncBlocking { get; }
public static bool SuppressInsecureTlsWarning { get; }
public static bool TruncateScaledDecimal { get; }
public static bool UseCompatibilityAsyncBehaviour { get; }
public static bool UseCompatibilityProcessSni { get; }
public static bool UseConnectionPoolV2 { get; }
public static bool UseLegacyIdleTimeoutBehavior { get; }
public static bool UseOverallConnectTimeoutForPoolWait { get; }
public static bool UseManagedNetworking { get; }
public static bool UseMinimumLoginTimeout { get; }
}
}