IQuerySessionContext.ConvertLocalPathToSharedUri(String) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Converts a server local path to a live share Uri.
public Uri? ConvertLocalPathToSharedUri (string localPath);
abstract member ConvertLocalPathToSharedUri : string -> Uri
Public Function ConvertLocalPathToSharedUri (localPath As String) As Uri
Parameters
- localPath
- String
A local file/directory path.
Returns
Converted URI suitable for sharing between hosts and guests, or null if the path could not be converted, possibly because the path is outside one of the shared roots.