List SQL Databases

Lists the names of the databases in the specified instance of SQL server.

Privileges

Normal

Input Parameters

Name Type Required Description
Instance Name String Yes The name of the instance of SQL server.

Output Parameters

Name Type Description
DatabaseList String collection Returns a list of database names.
Result Number Returns a success value of zero or any value other than zero to indicate failure.

Example Input Parameters

Name Type Required Example
Instance Name String Yes MSSQLSERVER