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

PI Powershell

AddAFPort.AFElement Property

  • Last UpdatedDec 15, 2025
  • 2 minute read
AddAFPort.AFElement Property

AF Element to which to add the AF Port

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

Syntax

[ParameterAttribute(Position = 7, Mandatory = true, ParameterSetName = "Element", 
	ValueFromPipeline = true, HelpMessage = "AF Element")]
[ValidateNotNullOrEmptyAttribute]
public AFElement AFElement { get; set; }
<ParameterAttribute(Position := 7, Mandatory := true, ParameterSetName := "Element", 
	ValueFromPipeline := true, HelpMessage := "AF Element")>
<ValidateNotNullOrEmptyAttribute>
Public Property AFElement As AFElement
	Get
	Set

Dim instance As AddAFPort
Dim value As AFElement

value = instance.AFElement

instance.AFElement = value
public:
[ParameterAttribute(Position = 7, Mandatory = true, ParameterSetName = L"Element", 
	ValueFromPipeline = true, HelpMessage = L"AF Element")]
[ValidateNotNullOrEmptyAttribute]
property AFElement^ AFElement {
	AFElement^ get ();
	void set (AFElement^ value);
}
[<ParameterAttribute(Position = 7, Mandatory = true, ParameterSetName = "Element", 
	ValueFromPipeline = true, HelpMessage = "AF Element")>]
[<ValidateNotNullOrEmptyAttribute>]
member AFElement : AFElement with get, set

Property Value

Type: AFElement

See Also

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