Skip to content

Update AppContext Switch Docs #3412

Description

@paulmedynski

MDS AppContext Switches are documented here:

https://learn.microsoft.com/en-us/sql/connect/ado-net/appcontext-switches?view=sql-server-ver16

That page lists the following switches:

  • DisableTNIRByDefaultInConnectionString
  • EnableRetryLogic
  • LegacyRowVersionNullBehavior
  • MakeReadAsyncBlocking
  • SuppressInsecureTLSWarning
  • TruncateScaledDecimal
  • UseManagedNetworkingOnWindows
  • UseOneSecFloorInTimeoutCalculationDuringLogin
  • UseSystemDefaultSecureProtocols

Those don't match the current code, which supports the following switches:

  • DisableTNIRByDefaultInConnectionString
  • LegacyRowVersionNullBehavior
  • LegacyVarTimeZeroScaleBehaviour
  • MakeReadAsyncBlocking
  • SuppressInsecureTLSWarning
  • TruncateScaledDecimal
  • UseCompatibilityAsyncBehaviour
  • UseCompatibilityProcessSni
  • UseConnectionPoolV2
  • UseOneSecFloorInTimeoutCalculationDuringLogin
  • UseManagedNetworkingOnWindows

Update the public docs to match reality, and find any other public docs that may also be inaccurate (README, BUILDGUIDE, etc).

Metadata

Metadata

Assignees

No one assigned

    Labels

    Area\DocumentationUse this for issues that requires changes in public documentations/samples.Up-for-Grabs 🙌Issues that are ready to be picked up for anyone interested. Please self-assign and remove the label

    Type

    Projects

    Status
    Backlog

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions