Please ensure Javascript is enabled for purposes of website accessibility
Powered by Zoomin Software. For more details please contactZoomin

PI Powershell

GetPIExpressionSummary.Expression Property

  • Last UpdatedDec 15, 2025
  • 2 minute read
GetPIExpressionSummary.Expression Property

PI Performance equation expression to evaluate

Namespace:  OSIsoft.PowerShell
Assembly:  OSIsoft.PowerShell (in OSIsoft.PowerShell.dll) Version: 2.2.3.0 (2.2.3.952)

Syntax

[ParameterAttribute(Position = 4, Mandatory = true, ParameterSetName = "WithoutSampleTimes", 
	HelpMessage = "Summary type")]
[ParameterAttribute(Position = 4, Mandatory = true, ParameterSetName = "WithSampleTimes", 
	HelpMessage = "Summary type")]
[ValidateNotNullOrEmptyAttribute]
public string Expression { get; set; }
<ParameterAttribute(Position := 4, Mandatory := true, ParameterSetName := "WithoutSampleTimes", 
	HelpMessage := "Summary type")>
<ParameterAttribute(Position := 4, Mandatory := true, ParameterSetName := "WithSampleTimes", 
	HelpMessage := "Summary type")>
<ValidateNotNullOrEmptyAttribute>
Public Property Expression As String
	Get
	Set

Dim instance As GetPIExpressionSummary
Dim value As String

value = instance.Expression

instance.Expression = value
public:
[ParameterAttribute(Position = 4, Mandatory = true, ParameterSetName = L"WithoutSampleTimes", 
	HelpMessage = L"Summary type")]
[ParameterAttribute(Position = 4, Mandatory = true, ParameterSetName = L"WithSampleTimes", 
	HelpMessage = L"Summary type")]
[ValidateNotNullOrEmptyAttribute]
property String^ Expression {
	String^ get ();
	void set (String^ value);
}
[<ParameterAttribute(Position = 4, Mandatory = true, ParameterSetName = "WithoutSampleTimes", 
	HelpMessage = "Summary type")>]
[<ParameterAttribute(Position = 4, Mandatory = true, ParameterSetName = "WithSampleTimes", 
	HelpMessage = "Summary type")>]
[<ValidateNotNullOrEmptyAttribute>]
member Expression : string with get, set

Property Value

Type: String

See Also

In This Topic
TitleResults for “How to create a CRG?”Also Available in