Share via


InternalSymbolicLinkLinkCodeMethods.GetTarget(PSObject) Method

Definition

Caution

This method is now obsolete. Please use the .NET API 'FileSystemInfo.LinkTarget'

Gets the target of the specified reparse point.

public:
 static System::Collections::Generic::IEnumerable<System::String ^> ^ GetTarget(System::Management::Automation::PSObject ^ instance);
public static System.Collections.Generic.IEnumerable<string> GetTarget (System.Management.Automation.PSObject instance);
public static string GetTarget (System.Management.Automation.PSObject instance);
[System.Obsolete("This method is now obsolete. Please use the .NET API 'FileSystemInfo.LinkTarget'", true)]
public static string GetTarget (System.Management.Automation.PSObject instance);
static member GetTarget : System.Management.Automation.PSObject -> seq<string>
static member GetTarget : System.Management.Automation.PSObject -> string
[<System.Obsolete("This method is now obsolete. Please use the .NET API 'FileSystemInfo.LinkTarget'", true)>]
static member GetTarget : System.Management.Automation.PSObject -> string
Public Shared Function GetTarget (instance As PSObject) As IEnumerable(Of String)
Public Shared Function GetTarget (instance As PSObject) As String

Parameters

instance
PSObject

The object of FileInfo or DirectoryInfo type.

Returns

The target of the reparse point.

Attributes

Applies to