AddPIDataArchiveConnectionConfiguration.Port Property
- Last UpdatedDec 15, 2025
- 1 minute read
TCP Port to use to connect to PI Data Archive. Typically set to "5450".
Namespace: OSIsoft.PowerShell
Assembly: OSIsoft.PowerShell (in OSIsoft.PowerShell.dll) Version: 3.1.1.0 (3.1.1.466)
Syntax
[ParameterAttribute(Position = 4, Mandatory = false, HelpMessage = "Port")] [ValidateNotNullOrEmptyAttribute] public int Port { get; set; }
<ParameterAttribute(Position := 4, Mandatory := false, HelpMessage := "Port")> <ValidateNotNullOrEmptyAttribute> Public Property Port As Integer Get Set Dim instance As AddPIDataArchiveConnectionConfiguration Dim value As Integer value = instance.Port instance.Port = value
public: [ParameterAttribute(Position = 4, Mandatory = false, HelpMessage = L"Port")] [ValidateNotNullOrEmptyAttribute] property int Port { int get (); void set (int value); }
[<ParameterAttribute(Position = 4, Mandatory = false, HelpMessage = "Port")>] [<ValidateNotNullOrEmptyAttribute>] member Port : int with get, set