how to break external reference via VBA

hi there! i got a problem when i import an UG part file into Solidworks.

i want to break relationship up between UG and SW, i know i can right click the reference node then click "break link", but how should i do it via VBA or C#?  i have searched the API help, and find a method "BreakAllExternalFileReferences2 Method (IModelDocExtension)", but it doesn't work.

give me some tips . thanks.

SolidworksImport export