Export (0) Print
Expand All

PathIntrinsics.GetUnresolvedProviderPathFromPSPath Method (String)

Obtains an unresolved provider-internal path from a specified drive-qualified or provider-qualified absolute or relative path.


Namespace: System.Management.Automation
Assembly: System.Management.Automation (in System.Management.Automation.dll)

'Usage
Dim instance As PathIntrinsics
Dim path As String
Dim returnValue As String

returnValue = instance.GetUnresolvedProviderPathFromPSPath(path)

public string GetUnresolvedProviderPathFromPSPath (
	string path
)
public String GetUnresolvedProviderPathFromPSPath (
	String path
)
public function GetUnresolvedProviderPathFromPSPath (
	path : String
) : String

Parameters

path

The provider-qualified or drive-qualified absolute or relative path to be resolved.

Return Value

An unresolved provider-internal path (that might contain wildcards).

Exception typeCondition
ArgumentNullException

The path parameter is null.

NotSupportedException

The specified path is for a provider that is not a navigation or container provider.

InvalidOperationException

The specified path is for a provider whose home location is not set, and the path starts with a tilde character (~).

ProviderNotFoundException

The specified path refers to a provider that cannot be found.

DriveNotFoundException

The specified path is a drive-qualified path for a drive that could not be found.

ItemNotFoundException

The specified path does not contain wildcards and cannot be found.

ProviderInvocationException

The provider used to build the path throws an exception.

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

 

Target Platforms


Show:
© 2014 Microsoft