Use the SoureSafe action to invoke VSS, then parse the output (LASTSTEP_OUTPUT system macro) in the vbld_StepDone script event and process as needed (extract versions into temp macros, etc.).
http://www.visualbuild.com/Manual/systemmacros.htm
http://www.visualbuild.com/Manual/scriptevents.htm