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

PI Powershell

GetPIPoint.Attributes Property

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

The Attributes of the PI Point to retrieve. If not specified, no attributes are retrieved.

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

Syntax

[ParameterAttribute(Position = 1, Mandatory = true, ParameterSetName = "ByIDAttributes", 
	HelpMessage = "Attributes to retrieve")]
[ParameterAttribute(Position = 1, Mandatory = true, ParameterSetName = "ByNameSpecifyAttributes", 
	HelpMessage = "Attributes to retrieve")]
[ParameterAttribute(Position = 1, Mandatory = true, ParameterSetName = "ByWhereClauseSpecifyAttributes", 
	HelpMessage = "Attributes to retrieve")]
[ValidateNotNullOrEmptyAttribute]
public string[] Attributes { get; set; }
<ParameterAttribute(Position := 1, Mandatory := true, ParameterSetName := "ByIDAttributes", 
	HelpMessage := "Attributes to retrieve")>
<ParameterAttribute(Position := 1, Mandatory := true, ParameterSetName := "ByNameSpecifyAttributes", 
	HelpMessage := "Attributes to retrieve")>
<ParameterAttribute(Position := 1, Mandatory := true, ParameterSetName := "ByWhereClauseSpecifyAttributes", 
	HelpMessage := "Attributes to retrieve")>
<ValidateNotNullOrEmptyAttribute>
Public Property Attributes As String()
	Get
	Set

Dim instance As GetPIPoint
Dim value As String()

value = instance.Attributes

instance.Attributes = value
public:
[ParameterAttribute(Position = 1, Mandatory = true, ParameterSetName = L"ByIDAttributes", 
	HelpMessage = L"Attributes to retrieve")]
[ParameterAttribute(Position = 1, Mandatory = true, ParameterSetName = L"ByNameSpecifyAttributes", 
	HelpMessage = L"Attributes to retrieve")]
[ParameterAttribute(Position = 1, Mandatory = true, ParameterSetName = L"ByWhereClauseSpecifyAttributes", 
	HelpMessage = L"Attributes to retrieve")]
[ValidateNotNullOrEmptyAttribute]
property array<String^>^ Attributes {
	array<String^>^ get ();
	void set (array<String^>^ value);
}
[<ParameterAttribute(Position = 1, Mandatory = true, ParameterSetName = "ByIDAttributes", 
	HelpMessage = "Attributes to retrieve")>]
[<ParameterAttribute(Position = 1, Mandatory = true, ParameterSetName = "ByNameSpecifyAttributes", 
	HelpMessage = "Attributes to retrieve")>]
[<ParameterAttribute(Position = 1, Mandatory = true, ParameterSetName = "ByWhereClauseSpecifyAttributes", 
	HelpMessage = "Attributes to retrieve")>]
[<ValidateNotNullOrEmptyAttribute>]
member Attributes : string[] with get, set

Property Value

Type: String

See Also

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