NI.DAQmx.Device is a class, not a property. You need to set it up as follows:
using NationalInstruments.DAQmx; //namespace at the top
.
.
.
Device test = DaqSystem.Local.LoadDevice("\\Dev1");
DeviceBusTypebus = test.BusType; //for example
Bilal Durrani
NI