How to redirect Xref object in 3ds max maxscript

Hi guys.

I can not figure out a way to redirect Xref obj file path to new location.
Basically I just need a code to do the Resolve path to UNC command.

This didn't work for me for some reason. :(

Can anyone help me.