How to get relation between feature control frame and datum?

Hello,

   I want to find to which feature control frame (FCF) the datum is attached using API as shown in fig below?

SolidworksApi/macros