N-central Help

List SQL Instances

Lists the instances of SQL server on the local machine.

Privileges

Normal

Input Parameters

None

Output Parameters

Name Type Description
InstanceList String collection Returns a list of SQL Server instance names.
Result Number Returns a success value of zero or any value other than zero to indicate failure.

Example Input Parameters

No input parameters required.