共用方式為


TraceCommandCommand.Expression Property

Definition

The parameter for the expression that should be traced.

public:
 property System::Management::Automation::ScriptBlock ^ Expression { System::Management::Automation::ScriptBlock ^ get(); void set(System::Management::Automation::ScriptBlock ^ value); };
public System.Management.Automation.ScriptBlock Expression { get; set; }
[System.Management.Automation.Parameter(Mandatory=true, ParameterSetName="expressionSet", Position=1)]
public System.Management.Automation.ScriptBlock Expression { get; set; }
member this.Expression : System.Management.Automation.ScriptBlock with get, set
[<System.Management.Automation.Parameter(Mandatory=true, ParameterSetName="expressionSet", Position=1)>]
member this.Expression : System.Management.Automation.ScriptBlock with get, set
Public Property Expression As ScriptBlock

Property Value

Attributes

Applies to