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

PI Powershell

SetAFElement.DefaultOutputPort Property

  • Last UpdatedDec 15, 2025
  • 2 minute read
SetAFElement.DefaultOutputPort Property

Default Output Port

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

Syntax

[ParameterAttribute(Position = 5, Mandatory = false, HelpMessage = "New AF Element Default Output Port")]
[ValidateNotNullOrEmptyAttribute]
public AFPort DefaultOutputPort { get; set; }
<ParameterAttribute(Position := 5, Mandatory := false, HelpMessage := "New AF Element Default Output Port")>
<ValidateNotNullOrEmptyAttribute>
Public Property DefaultOutputPort As AFPort
	Get
	Set

Dim instance As SetAFElement
Dim value As AFPort

value = instance.DefaultOutputPort

instance.DefaultOutputPort = value
public:
[ParameterAttribute(Position = 5, Mandatory = false, HelpMessage = L"New AF Element Default Output Port")]
[ValidateNotNullOrEmptyAttribute]
property AFPort^ DefaultOutputPort {
	AFPort^ get ();
	void set (AFPort^ value);
}
[<ParameterAttribute(Position = 5, Mandatory = false, HelpMessage = "New AF Element Default Output Port")>]
[<ValidateNotNullOrEmptyAttribute>]
member DefaultOutputPort : AFPort with get, set

Property Value

Type: AFPort

See Also

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