Interface Versioning

Added by Nitin Desai , last edited by Vishal Ganeriwala on Nov 09, 2007  (view change)
Tags: 


Description

There are two commonly asked questions about MFCOM Interfaces -

1. Why are there so many interfaces say IMetaFrameFarm, IMetaFrameFarm2...?

MFCOM is a COM based management interface. It uses COM based versioning technique. Every release whenever the new APIs needs to be exposed a new interface is added. CPS 4.5 introduced IMetaFrameFarm7 interface for newer Farm related properties/methods. 

2. Why there are two types of interfaces with major objects like  Farm has IMetaFrameFarm and IMetaFrameWinFarm?

This has a historical reason. The earlier plan was to support Unix and Windows in the same farm. But today we have only Windows. So the simple answer is don't really worry about two types. Just use the interface which provides the necessary method.