다음을 통해 공유


InvocationInfo.CommandOrigin Property

Definition

This property tells you if you were being invoked inside the runspace or if it was an external request.

public:
 property System::Management::Automation::CommandOrigin CommandOrigin { System::Management::Automation::CommandOrigin get(); };
public System.Management.Automation.CommandOrigin CommandOrigin { get; }
member this.CommandOrigin : System.Management.Automation.CommandOrigin
Public ReadOnly Property CommandOrigin As CommandOrigin

Property Value

Applies to