Partager via


SecurityDescriptorCommandsBase.GetPath(PSObject) Method

Definition

Gets the Path of the provided PSObject.

public:
 static System::String ^ GetPath(System::Management::Automation::PSObject ^ instance);
public static string GetPath (System.Management.Automation.PSObject instance);
static member GetPath : System.Management.Automation.PSObject -> string
Public Shared Function GetPath (instance As PSObject) As String

Parameters

instance
PSObject

The PSObject for which to obtain the path.

Returns

The path of the provided PSObject.

Applies to