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

PI Powershell

GetPIExpressionSummary.SampleIntervals Property

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

Number of evenly spaced intervals in each sampling time range. This array has to be one element shorter than SampleTimes.

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

Syntax

[ParameterAttribute(Position = 6, Mandatory = true, ParameterSetName = "WithSampleTimes", 
	HelpMessage = "Sample intervals")]
[ValidateNotNullOrEmptyAttribute]
public int[] SampleIntervals { get; set; }
<ParameterAttribute(Position := 6, Mandatory := true, ParameterSetName := "WithSampleTimes", 
	HelpMessage := "Sample intervals")>
<ValidateNotNullOrEmptyAttribute>
Public Property SampleIntervals As Integer()
	Get
	Set

Dim instance As GetPIExpressionSummary
Dim value As Integer()

value = instance.SampleIntervals

instance.SampleIntervals = value
public:
[ParameterAttribute(Position = 6, Mandatory = true, ParameterSetName = L"WithSampleTimes", 
	HelpMessage = L"Sample intervals")]
[ValidateNotNullOrEmptyAttribute]
property array<int>^ SampleIntervals {
	array<int>^ get ();
	void set (array<int>^ value);
}
[<ParameterAttribute(Position = 6, Mandatory = true, ParameterSetName = "WithSampleTimes", 
	HelpMessage = "Sample intervals")>]
[<ValidateNotNullOrEmptyAttribute>]
member SampleIntervals : int[] with get, set

Property Value

Type: Int32

See Also

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