There are restrictions in the way that views can be manipulated. When Microsoft Exchange is running, it is not possible to determine what the current view is nor is it possible to set the current view programmatically.