Get list of allocated databases with C#