That information is stored in a TextStore in XML format, so it would be difficult to swap out the WebDAV URL. This code will output that stored text to the log for the SASPortal4.4 Local Services application:
data _null_;
length type id $ 50 st $ 32767;
call missing(of _character_);
obj="omsobj:TextStore?TextStore[AssociatedProperty/Property/AssociatedObject/ServiceComponent[@Name='Information Service']/Trees/Tree/SoftwareComponents/SoftwareComponent[@Name='SASPortal4.4 Local Services']]";
rc=metadata_resolve(obj,type,id);
rc=metadata_getattr(obj,"StoredText",st);
put st;
run;
The relevant segment of that stored text XML looks like this:
<ReposDef auto="true" base="/SASContentServer/repository/default/sasdav" description="" domain="DefaultAuth" hibdialect="" host="mid.example.com" issecure="false" name="WebDAV" port="7980" protocol="dav" proxy="" uid="ece1b792-0a7a-44d3-2b1f-e010219149d7"/>
Depending on what you are trying to change (just the host name or other options) could try reading out the whole stored text, using a function to find/replace the bit you want changed, and then the METADATA_SETATTR function to write it back.
--
Greg Wootton | Principal Systems Technical Support Engineer