ProcessCodeMethods.GetParentProcess(PSObject) 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.
CodeMethod for getting the parent process of a process.
public:
 static System::Object ^ GetParentProcess(System::Management::Automation::PSObject ^ obj);
	public static object GetParentProcess(System.Management.Automation.PSObject obj);
	static member GetParentProcess : System.Management.Automation.PSObject -> obj
	Public Shared Function GetParentProcess (obj As PSObject) As Object
	Public Function GetParentProcess (obj As PSObject) As Object
	Parameters
- obj
 - PSObject
 
Returns
The parent process, or null if the parent is no longer running.