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

PI Powershell

SetAFPort.AFPort Property

  • Last UpdatedDec 15, 2025
  • 2 minute read
SetAFPort.AFPort Property

AF Port to edit

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

Syntax

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

Dim instance As SetAFPort
Dim value As AFPort

value = instance.AFPort

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

Property Value

Type: AFPort

See Also

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