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

PI Powershell

GetPIMessage.Source2 Property

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

Source2 mask to search for

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

Syntax

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

Dim instance As GetPIMessage
Dim value As String

value = instance.Source2

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

Property Value

Type: String

See Also

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