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

PI Powershell

SetAFAttribute.AFAttribute Property

  • Last UpdatedDec 15, 2025
  • 2 minute read
SetAFAttribute.AFAttribute Property

AF Attribute to edit

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

Syntax

[ParameterAttribute(Position = 8, Mandatory = true, ParameterSetName = "Value", 
	ValueFromPipeline = true, HelpMessage = "AF Attribute")]
[ParameterAttribute(Position = 9, Mandatory = true, ParameterSetName = "DataReference", 
	ValueFromPipeline = true, HelpMessage = "AF Attribute")]
[ValidateNotNullOrEmptyAttribute]
public AFAttribute AFAttribute { get; set; }
<ParameterAttribute(Position := 8, Mandatory := true, ParameterSetName := "Value", 
	ValueFromPipeline := true, HelpMessage := "AF Attribute")>
<ParameterAttribute(Position := 9, Mandatory := true, ParameterSetName := "DataReference", 
	ValueFromPipeline := true, HelpMessage := "AF Attribute")>
<ValidateNotNullOrEmptyAttribute>
Public Property AFAttribute As AFAttribute
	Get
	Set

Dim instance As SetAFAttribute
Dim value As AFAttribute

value = instance.AFAttribute

instance.AFAttribute = value
public:
[ParameterAttribute(Position = 8, Mandatory = true, ParameterSetName = L"Value", 
	ValueFromPipeline = true, HelpMessage = L"AF Attribute")]
[ParameterAttribute(Position = 9, Mandatory = true, ParameterSetName = L"DataReference", 
	ValueFromPipeline = true, HelpMessage = L"AF Attribute")]
[ValidateNotNullOrEmptyAttribute]
property AFAttribute^ AFAttribute {
	AFAttribute^ get ();
	void set (AFAttribute^ value);
}
[<ParameterAttribute(Position = 8, Mandatory = true, ParameterSetName = "Value", 
	ValueFromPipeline = true, HelpMessage = "AF Attribute")>]
[<ParameterAttribute(Position = 9, Mandatory = true, ParameterSetName = "DataReference", 
	ValueFromPipeline = true, HelpMessage = "AF Attribute")>]
[<ValidateNotNullOrEmptyAttribute>]
member AFAttribute : AFAttribute with get, set

Property Value

Type: AFAttribute

See Also

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