Partager via


Command.CommandOrigin Property

Definition

Gets or sets the command origin for this command. A command origin of 'Runspace' (the default) applies Runspace restrictions to this command. A command origin of 'Internal' does not apply runspace restrictions.

public:
 property System::Management::Automation::CommandOrigin CommandOrigin { System::Management::Automation::CommandOrigin get(); void set(System::Management::Automation::CommandOrigin value); };
public System.Management.Automation.CommandOrigin CommandOrigin { get; set; }
member this.CommandOrigin : System.Management.Automation.CommandOrigin with get, set
Public Property CommandOrigin As CommandOrigin

Property Value

Applies to