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

PI Powershell

GetPIPoint.WhereClause Property

  • Last UpdatedDec 15, 2025
  • 2 minute read
GetPIPoint.WhereClause Property

WhereClause used to filter PI Points returned. The format of the WhereClause is Attribute:[Operator][Value] For example:

Tag:=Sinusoid

Multiple comparisons can be specified, separated by spaces. The following operators are supported: Equals: = Not equals: != or <> Greater than: > Greater than or equal to >= Less than: < Less than or equal to: <= If the Operator is omitted, equals is assumed.

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

Syntax

[ParameterAttribute(Position = 0, Mandatory = true, ParameterSetName = "ByWhereClauseSpecifyAttributes", 
	HelpMessage = "Where clause for retrieving points")]
[ParameterAttribute(Position = 0, Mandatory = true, ParameterSetName = "ByWhereClauseAllAttributes", 
	HelpMessage = "Where clause for retrieving points")]
[ValidateNotNullOrEmptyAttribute]
public string WhereClause { get; set; }
<ParameterAttribute(Position := 0, Mandatory := true, ParameterSetName := "ByWhereClauseSpecifyAttributes", 
	HelpMessage := "Where clause for retrieving points")>
<ParameterAttribute(Position := 0, Mandatory := true, ParameterSetName := "ByWhereClauseAllAttributes", 
	HelpMessage := "Where clause for retrieving points")>
<ValidateNotNullOrEmptyAttribute>
Public Property WhereClause As String
	Get
	Set

Dim instance As GetPIPoint
Dim value As String

value = instance.WhereClause

instance.WhereClause = value
public:
[ParameterAttribute(Position = 0, Mandatory = true, ParameterSetName = L"ByWhereClauseSpecifyAttributes", 
	HelpMessage = L"Where clause for retrieving points")]
[ParameterAttribute(Position = 0, Mandatory = true, ParameterSetName = L"ByWhereClauseAllAttributes", 
	HelpMessage = L"Where clause for retrieving points")]
[ValidateNotNullOrEmptyAttribute]
property String^ WhereClause {
	String^ get ();
	void set (String^ value);
}
[<ParameterAttribute(Position = 0, Mandatory = true, ParameterSetName = "ByWhereClauseSpecifyAttributes", 
	HelpMessage = "Where clause for retrieving points")>]
[<ParameterAttribute(Position = 0, Mandatory = true, ParameterSetName = "ByWhereClauseAllAttributes", 
	HelpMessage = "Where clause for retrieving points")>]
[<ValidateNotNullOrEmptyAttribute>]
member WhereClause : string with get, set

Property Value

Type: String

See Also

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