AddAFServer.Port Property
- Last UpdatedDec 15, 2025
- 1 minute read
TCP port the AF Server is listening on. Typically, this is "5457"
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, HelpMessage = "Network Port")] [ValidateNotNullOrEmptyAttribute] public int Port { get; set; }
<ParameterAttribute(Position := 3, Mandatory := false, HelpMessage := "Network Port")> <ValidateNotNullOrEmptyAttribute> Public Property Port As Integer Get Set Dim instance As AddAFServer Dim value As Integer value = instance.Port instance.Port = value
public: [ParameterAttribute(Position = 3, Mandatory = false, HelpMessage = L"Network Port")] [ValidateNotNullOrEmptyAttribute] property int Port { int get (); void set (int value); }
[<ParameterAttribute(Position = 3, Mandatory = false, HelpMessage = "Network Port")>] [<ValidateNotNullOrEmptyAttribute>] member Port : int with get, set