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

PI Powershell

GetPIMessage.SourceAny Property

  • Last UpdatedDec 15, 2025
  • 2 minute read
GetPIMessage.SourceAny Property

Source mask for any source field to search for (includes Source1, Source2, and Source3)

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

Syntax

[ParameterAttribute(Position = 6, ParameterSetName = "Remote", Mandatory = false, 
	HelpMessage = "Any Source")]
[ParameterAttribute(Position = 6, ParameterSetName = "Local", Mandatory = false, 
	HelpMessage = "Any Source")]
[ValidateNotNullOrEmptyAttribute]
public string SourceAny { get; set; }
<ParameterAttribute(Position := 6, ParameterSetName := "Remote", Mandatory := false, 
	HelpMessage := "Any Source")>
<ParameterAttribute(Position := 6, ParameterSetName := "Local", Mandatory := false, 
	HelpMessage := "Any Source")>
<ValidateNotNullOrEmptyAttribute>
Public Property SourceAny As String
	Get
	Set

Dim instance As GetPIMessage
Dim value As String

value = instance.SourceAny

instance.SourceAny = value
public:
[ParameterAttribute(Position = 6, ParameterSetName = L"Remote", Mandatory = false, 
	HelpMessage = L"Any Source")]
[ParameterAttribute(Position = 6, ParameterSetName = L"Local", Mandatory = false, 
	HelpMessage = L"Any Source")]
[ValidateNotNullOrEmptyAttribute]
property String^ SourceAny {
	String^ get ();
	void set (String^ value);
}
[<ParameterAttribute(Position = 6, ParameterSetName = "Remote", Mandatory = false, 
	HelpMessage = "Any Source")>]
[<ParameterAttribute(Position = 6, ParameterSetName = "Local", Mandatory = false, 
	HelpMessage = "Any Source")>]
[<ValidateNotNullOrEmptyAttribute>]
member SourceAny : string with get, set

Property Value

Type: String

See Also

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