var dt = SqlDataSourceEnumerator.Instance.GetDataSources();
to verify i put in CMD this "sqlcmd -L" and "osql -L" and i get the list.
so what am doing wrong, i dont know if OS matter am using Win10. Also someone know how to do this using dlls that sqlserver have?
thanks.
Praveen DhatrikaPosted Feb 22, 2016, 1:08 PM