There is an undocumented call on the LCSession class called GetPoolHolding() which should do what you want.