How does one check that a SQL Server end point has been set to listen to all IP addresses?
i.e
I need to run the command below however I need to backup the current values. I am only able to find create or alter commands but nothing on how to list the current properties of an SQL end point
ALTER ENDPOINT [tester-hadr]
AS TCP (LISTENER_IP = ALL)
GO