I have a feature class where each feature needs a reference to a raster in another workspace.
Is there some way I can get a string that uniquely identifies any workspace (ArcSDE, personal or file)?
Since I am writing from a geoprocessing tool IDEWorkspace2.ConnectionString looked promising. However I found that it returned an empty string when the workspace was a .gdb.
Another approach I thought may work was to call IWorkSpace.ConnectionProperties and then XML serialize. However this also seems to return an empty string when the workspace is a .gdb. Not sure if I did this correctly though.
Also if there is a way to get such an unique string, how do I get a IWorkspace object from this string?