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

PI Powershell

AddAFAttributeTemplate.DataReferenceProperties Property

AddAFAttributeTemplate.DataReferenceProperties Property

  • Last UpdatedDec 15, 2025
  • 2 minute read
AddAFAttributeTemplate.DataReferenceProperties Property

Properties of the data reference plugin to use for the Value of the new AF Attribute Template

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

Syntax

[ParameterAttribute(Position = 3, Mandatory = false, ParameterSetName = "AttributeDataReference", 
	HelpMessage = "AF Attribute Template Data Reference Properties")]
[ParameterAttribute(Position = 3, Mandatory = false, ParameterSetName = "ElementDataReference", 
	HelpMessage = "AF Attribute Template Data Reference Properties")]
[ValidateNotNullAttribute]
public Hashtable DataReferenceProperties { get; set; }
<ParameterAttribute(Position := 3, Mandatory := false, ParameterSetName := "AttributeDataReference", 
	HelpMessage := "AF Attribute Template Data Reference Properties")>
<ParameterAttribute(Position := 3, Mandatory := false, ParameterSetName := "ElementDataReference", 
	HelpMessage := "AF Attribute Template Data Reference Properties")>
<ValidateNotNullAttribute>
Public Property DataReferenceProperties As Hashtable
	Get
	Set

Dim instance As AddAFAttributeTemplate
Dim value As Hashtable

value = instance.DataReferenceProperties

instance.DataReferenceProperties = value
public:
[ParameterAttribute(Position = 3, Mandatory = false, ParameterSetName = L"AttributeDataReference", 
	HelpMessage = L"AF Attribute Template Data Reference Properties")]
[ParameterAttribute(Position = 3, Mandatory = false, ParameterSetName = L"ElementDataReference", 
	HelpMessage = L"AF Attribute Template Data Reference Properties")]
[ValidateNotNullAttribute]
property Hashtable^ DataReferenceProperties {
	Hashtable^ get ();
	void set (Hashtable^ value);
}
[<ParameterAttribute(Position = 3, Mandatory = false, ParameterSetName = "AttributeDataReference", 
	HelpMessage = "AF Attribute Template Data Reference Properties")>]
[<ParameterAttribute(Position = 3, Mandatory = false, ParameterSetName = "ElementDataReference", 
	HelpMessage = "AF Attribute Template Data Reference Properties")>]
[<ValidateNotNullAttribute>]
member DataReferenceProperties : Hashtable with get, set

Property Value

Type: Hashtable

See Also

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