The ResolvePath method is used to resolve a local file name
or directory to obtain its virtual path name, or obtain the full path
name of a file or directory that is mapped to a virtual path. If
the IsVirtual parameter is omitted or is False, the
SourcePath parameter is considered to be a path to a local
file or directory and the ResolvedPath parameter will contain
the virtual path. If the IsVirtual parameter is True, then the
SourcePath parameter is considered to be a virtual path and
the ResolvedPath parameter will contain the full path to the
local file or directory that the virtual path is mapped to
A virtual path for the client is either relative to the
server root directory, or the client home directory if the user was
specified in the request URI. These virtual paths are what the
client will see as an absolute path on the server. For example, if the
server was configured to use "C:\ProgramData\MyServer" as
the root directory, and the SourcePath parameter was specified
as "C:\ProgramData\MyServer\Documents\Research", this method
would return the virtual path to that directory as
"/Documents/Research".