Hi,
If you know what the machine name is, when you could make use of the following method to get some information about all the SQL instances running, you could then look-up the name within the returned collection:
SqlDataSourceEnumerator.GetDataSources Method [
^].
You should get a collection of rows (
DataTable
) that has the following columns:
- ServerName
- InstanceName
- IsClustered
- Version
Kind regards,