List SQL Ports

This Automation Manager object lists the ports that SQL server uses on the local machine.

Privileges

Normal

Input Parameters

None

Output Parameters

Name Type Description
PortList String collection Returns a list of SQL server ports, Instance and the Port used.
Result Number Returns a success value of zero or any value other than zero to indicate failure.

Example Input Parameters

No input parameters required.