<PackageReference Include="Microsoft.Data.SqlClient" Version="7.1.0-preview3.26238.4" />

Microsoft.Data.SqlClient.ManagedSni.ResolvedServerSpn

This is used to hold the ServerSpn for a given connection. Most connection types have a single format, although TCP connections may allow with and without a port. Depending on how the SPN is registered on the server, either one may be the correct name.
public string Primary { get; }

public string Secondary { get; }

public ResolvedServerSpn(string primary, string secondary = null)

This is used to hold the ServerSpn for a given connection. Most connection types have a single format, although TCP connections may allow with and without a port. Depending on how the SPN is registered on the server, either one may be the correct name.