<PackageReference Include="Microsoft.Data.SqlClient.Internal.Logging" Version="7.0.2" />

Microsoft.Data.SqlClient.Internal.SqlClientSNIEventScope

A disposable scope for SNI event tracing. Automatically leaves the scope when disposed.
namespace Microsoft.Data.SqlClient.Internal { public readonly struct SqlClientSNIEventScope : IDisposable { public SqlClientSNIEventScope(long scopeID); public void Dispose(); public static SqlClientSNIEventScope Create(string className, string memberName = ""); } }