I would like to get an enum
in c# which contains all sql server instances including localdb
, at this time I have tried looking in:
- System.Data.Sql.SqlDataSourceEnumerator.Instance.GetDataSources()
- Microsoft.SqlServer.Management.Smo.Wmi.ManagedComputer()
both not yielding the localdb instance. However ms server management studio seems to be able to discover it, usualy in (LocalDb)\v11.0
Thanks for your help!