Skip to content

Update AppContext Switch Docs #3412

Open
Open
@paulmedynski

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.P3Use for tagging low priority issues, impacts a single customer, and is not a critical/high issue.Triage Done ✔️Issues that are triaged by dev team and are in investigation.Up-for-Grabs 🙌Issues that are ready to be picked up for anyone interested. Please self-assign and remove the label

    Type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions