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

PI Powershell

GetPIExpressionSummary.Times Property

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

The time ranges. If the whole range is evenly spaced, this argument has only two elements, the starttime and endtime.

Namespace:  OSIsoft.PowerShell
Assembly:  OSIsoft.PowerShell (in OSIsoft.PowerShell.dll) Version: 3.1.1.0 (3.1.1.466)

Syntax

[ParameterAttribute(Position = 0, ParameterSetName = "WithoutSampleTimes", 
	Mandatory = true, HelpMessage = "Timestamp ranges of summaries")]
[ParameterAttribute(Position = 0, ParameterSetName = "WithSampleTimes", 
	Mandatory = true, HelpMessage = "Timestamp ranges of summaries")]
[ValidateNotNullOrEmptyAttribute]
public DateTime[] Times { get; set; }
<ParameterAttribute(Position := 0, ParameterSetName := "WithoutSampleTimes", 
	Mandatory := true, HelpMessage := "Timestamp ranges of summaries")>
<ParameterAttribute(Position := 0, ParameterSetName := "WithSampleTimes", 
	Mandatory := true, HelpMessage := "Timestamp ranges of summaries")>
<ValidateNotNullOrEmptyAttribute>
Public Property Times As DateTime()
	Get
	Set

Dim instance As GetPIExpressionSummary
Dim value As DateTime()

value = instance.Times

instance.Times = value
public:
[ParameterAttribute(Position = 0, ParameterSetName = L"WithoutSampleTimes", 
	Mandatory = true, HelpMessage = L"Timestamp ranges of summaries")]
[ParameterAttribute(Position = 0, ParameterSetName = L"WithSampleTimes", 
	Mandatory = true, HelpMessage = L"Timestamp ranges of summaries")]
[ValidateNotNullOrEmptyAttribute]
property array<DateTime>^ Times {
	array<DateTime>^ get ();
	void set (array<DateTime>^ value);
}
[<ParameterAttribute(Position = 0, ParameterSetName = "WithoutSampleTimes", 
	Mandatory = true, HelpMessage = "Timestamp ranges of summaries")>]
[<ParameterAttribute(Position = 0, ParameterSetName = "WithSampleTimes", 
	Mandatory = true, HelpMessage = "Timestamp ranges of summaries")>]
[<ValidateNotNullOrEmptyAttribute>]
member Times : DateTime[] with get, set

Property Value

Type: DateTime

See Also

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